Skip to content

Commit 5536070

Browse files
fix: fix styles
1 parent d167a26 commit 5536070

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

src/pages/home/Home.styled.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ export const List = styled(BaseLayoutElement)`
7676
`;
7777

7878
export const sharedComponentStyles = ({ theme }: { theme: Theme }) => css`
79-
height: 10vh;
79+
min-height: 10vh;
8080
@media (min-width: ${theme.custom.breakpoints.desktop}px) {
81-
height: unset;
81+
min-height: unset;
8282
}
8383
`;
8484

@@ -97,11 +97,11 @@ export const Info = styled(InfoBase)(
9797
export const Configurator = styled(ConfiguratorBase)(
9898
({ theme }) => css`
9999
padding: 0;
100-
height: 50vh;
100+
min-height: 50vh;
101101
102102
@media (min-width: ${theme.custom.breakpoints.desktop}px) {
103103
flex-basis: 75%;
104-
height: unset;
104+
min-height: unset;
105105
}
106106
`
107107
);
@@ -175,11 +175,11 @@ export const EventLoop = styled(EventLoopBase)(
175175
align-items: center;
176176
overflow: auto;
177177
position: relative;
178-
height: 40vh;
178+
min-height: 40vh;
179179
180180
@media (min-width: ${theme.custom.breakpoints.desktop}px) {
181181
flex-basis: 45%;
182-
height: unset;
182+
min-height: unset;
183183
overflow: hidden;
184184
}
185185
`

src/pages/home/sections/Wheel/Wheel.styled.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,5 @@ export const EventLoopBody = styled.div`
9292
align-items: center;
9393
justify-content: center;
9494
flex: 1;
95+
padding-top: 10px;
9596
`;

0 commit comments

Comments
 (0)