Skip to content

Commit

Permalink
fix(Placeholder): improve styles and add scroll on mobile instead of …
Browse files Browse the repository at this point in the history
…squeezing in components
  • Loading branch information
Botsy committed Feb 24, 2025
1 parent 039676a commit c5c7805
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions src/routes/Calendar/Placeholder/Placeholder.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,11 @@
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
min-height: 100%;
width: 100%;
overflow-y: auto;

.title {
display: flex;
flex: 4;
align-items: flex-end;
font-size: 1.75rem;
font-weight: 400;
text-align: center;
Expand All @@ -25,9 +22,6 @@
}

.image-container {
display: flex;
flex: 4;
align-items: center;
padding: 1.5rem 0;

.image {
Expand All @@ -38,7 +32,6 @@
}

.overview {
flex: 2;
display: flex;
flex-direction: row;
align-items: center;
Expand Down Expand Up @@ -71,9 +64,6 @@
}

.button-container {
display: flex;
flex: 2;
align-items: flex-start;
margin: 1rem 0;

.button {
Expand Down Expand Up @@ -101,25 +91,18 @@
padding: 1rem 2rem;

.title {
flex: 1;
margin-bottom: 0;
}

.image-container {
flex: 3;
padding: 1rem;

.image {
max-height: 10rem;
}
}

.overview {
flex: 2;
}

.button-container {
flex: 2;
margin: 1rem 0 0;
}
}
Expand All @@ -128,13 +111,9 @@
@media only screen and (max-width: @minimum) {
.placeholder {
padding: 1rem 2rem;
.title {
flex: 2;
}

.overview {
flex-direction: column;
flex: 2;
gap: 1rem;

.point {
Expand All @@ -145,7 +124,6 @@
}

.button-container {
flex: 3;
.button {
width: 100%;
}
Expand Down

0 comments on commit c5c7805

Please sign in to comment.