style: Improve overall app component paddings and margins and rollback vite to 5.1.6

This commit is contained in:
Prayag Prajapati committed 2024-03-25 11:30:45 +05:30
1 parent 1f724f027c
commit 08e633524a
27 files changed
+357 -335

No files matched your search

+20 -8
View File
@@ -53,7 +53,7 @@ body {
top: -80px;
left: -80px;
z-index: -2;
filter: blur(160px) saturate(130%) contrast(170%);
filter: blur(160px) saturate(140%) contrast(200%);
&-container {
position: fixed;
width: 100vw;
@@ -61,7 +61,7 @@ body {
left: 0;
top: 0;
z-index: -1;
filter: brightness(0.3);
filter: brightness(0.5);
}
}
@@ -126,17 +126,13 @@ h1 {
width: 100%;
box-sizing: border-box;
min-height: 100vh;
padding: 1.6em;
padding: $page-margin;
scrollbar-gutter: stable;
&.padded-top {
padding-top: 4.4em;
}
}
.home {
padding-left: 0 !important;
padding-right: 14px !important;
}
.empty {
display: none;
}
@@ -272,4 +268,20 @@ h1 {
aspect-ratio: 1;
border-radius: 10px;
background: white;
}
.react-multi-carousel-list{
overflow: visible !important;
}
.react-multi-carousel-item{
filter: brightness(0.4);
transition: filter 500ms;
&.react-multi-carousel-item--active{
filter: brightness(1);
}
}
@function neg($var) {
@return $var * -1;
}