Skip to content

Commit

Permalink
style: adjust carousel control
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi committed Aug 1, 2023
1 parent 4ef747c commit c459bf3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}

.container {
@apply px-8;
@apply px-4 md:px-12;
}

.fade-enter-active, .fade-leave-active {
Expand Down
5 changes: 3 additions & 2 deletions components/download/DownloadHeading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ const css = useCssModule();
@apply flex flex-col space-y-4 mb-16;
.title {
@apply text-rui-light-primary text-h6;
@apply text-rui-light-primary text-h6 font-medium;
}
.description {
@apply text-rui-text text-h3;
@apply text-rui-text text-h4 md:text-h3;
@apply font-normal #{!important};
}
}
Expand Down
4 changes: 2 additions & 2 deletions components/download/DownloadPreview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ scanImages();
}
.controls {
@apply flex flex-col absolute -bottom-[2.8125rem] z-10 -left-2 -right-2 items-center justify-center;
@apply flex flex-col absolute -bottom-[1.75rem] md:-bottom-[3rem] z-10 left-5 right-5 items-center justify-center;
.preview {
@apply px-8 py-6 rounded-xl border border-black/[.12] bg-white text-h4;
@apply px-4 py-3 md:px-8 md:py-6 rounded-xl border border-black/[.12] bg-white text-h5 md:text-h4 font-bold;
box-shadow: 4px 32px 80px 0 rgba(191, 194, 203, 0.24);
}
}
Expand Down

0 comments on commit c459bf3

Please sign in to comment.