style: improve page-margin

This commit is contained in:
Prayag Prajapati committed 2024-03-27 16:34:15 +05:30
1 parent 3efe4a4473
commit 325a4ab858
12 files changed
+226 -235

No files matched your search

@@ -9,14 +9,14 @@
position: absolute !important;
height: 100%;
font-size: 1em !important;
width: 3.2em;
width: $page-margin;
&.right{
border-radius: $border-radius-default 0 0 $border-radius-default !important;
right: -3.2em;
right: -$page-margin;
}
&.left{
border-radius: 0 $border-radius-default $border-radius-default 0 !important;
left: -3.2em;
left: -$page-margin;
}
.material-symbols-rounded{
font-size: 3.2em;
+1 -1
View File
@@ -2,7 +2,7 @@
.carousel {
position: relative;
height: 70vh;
margin: 0.6em 2.8em 2.8em 2.8em;
margin-bottom: 3.2em;
&-button {
position: absolute !important;
top: 50%;
+2 -1
View File
@@ -37,7 +37,8 @@ const ShowMoreText = ({ content, collapsedLines, extraProps }) => {
WebkitBoxOrient: "vertical",
width: "100%",
}}
variant="subtitle1"
variant="subtitle2"
fontWeight={300}
>
{content}
</Typography>
+1 -1
View File
@@ -11,7 +11,7 @@ export const CarouselSkeleton = () => {
elevation={0}
sx={{
height: "70vh",
margin: "0.6em 1.6em 1.6em 1.6em",
marginBottom: "3.2em",
position: "relative",
background: "black",
border: "1px solid rgb(255 255 255 / 0.2)",
+12 -2
View File
@@ -1,14 +1,24 @@
import React from "react";
import { Divider, LinearProgress, Skeleton } from "@mui/material";
import { motion } from "framer-motion";
const ItemSkeleton = () => {
return (
<div
<motion.div
className="item item-default scrollY padded-top flex flex-column"
style={{
width: "100vw",
}}
initial={{
opacity: 0,
}}
animate={{
opacity: 1,
}}
exit={{
opacity: 0,
}}
>
<div className="item-hero">
<div
@@ -111,7 +121,7 @@ const ItemSkeleton = () => {
/>
</div>
</div>
</div>
</motion.div>
);
};