Skip to content

Commit

Permalink
updated the slide size on conference page for teachings
Browse files Browse the repository at this point in the history
  • Loading branch information
okeino committed Oct 8, 2024
1 parent 3d66989 commit 80cc85d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/components/organisms/cardSlider/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
position: relative;
left: var(--slide-shift);
}

.base_newpadding {
--slide-padding: 10px;
--arrow-margin: 16px;
}
.arrow {
cursor: pointer;
border: none;
Expand Down
2 changes: 1 addition & 1 deletion src/components/organisms/cardSlider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default function Slider({

return (
<div
className={styles.base}
className={`${styles.base} ${hasBg ? styles.base_newpadding : ''}`}
style={{
'--min-card-width': `${minCardWidth}px`,
}}
Expand Down

0 comments on commit 80cc85d

Please sign in to comment.