Skip to content

Commit

Permalink
fix: responsive event page
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatmittal61 committed Sep 6, 2023
1 parent 3b04276 commit edc6831
Showing 1 changed file with 37 additions and 1 deletion.
38 changes: 37 additions & 1 deletion styles/pages/Event.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,22 @@
position: relative;
background-image: url("/vectors/mesh.svg");
background-attachment: fixed;
overflow-x: hidden;

@include responsive(phone) {
flex-direction: column;
justify-content: center;
padding: 0 32px;
}

&-image {
width: 40%;
height: auto;
object-fit: contain;

@include responsive(phone) {
display: none;
}
}

&-content {
Expand All @@ -30,6 +41,13 @@
align-items: flex-start;
flex-direction: column;
gap: 24px;

@include responsive(phone) {
width: 100%;
align-items: center;
text-align: center;
gap: 16px;
}
}

&-title {
Expand All @@ -51,6 +69,11 @@
150%,
var(--theme-white)
);

@include responsive(phone) {
width: 100%;
font-size: 16px;
}
}

&-actions,
Expand All @@ -59,8 +82,16 @@
display: flex;
justify-content: flex-start;
align-items: center;
flex-flow: row wrap;
gap: 20px;

@include responsive(phone) {
justify-content: center;
gap: 14px;
}
}

&-chips {
flex-flow: row wrap;
}

&-btn {
Expand All @@ -86,6 +117,11 @@
var(--theme-white),
1px
);

@include responsive(phone) {
padding: 10px 16px;
font-size: 14px;
}
}

&-chip {
Expand Down

0 comments on commit edc6831

Please sign in to comment.