mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-13 01:36:22 +00:00
refactor: profile page simple swiper & item layout
This commit is contained in:
@@ -52,6 +52,7 @@ ion-item {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: var(--font-size-sm);
|
||||
padding: 0 var(--spacing-xs) 0 var(--spacing-xs);
|
||||
}
|
||||
|
||||
&::part(native) {
|
||||
|
||||
@@ -45,6 +45,10 @@
|
||||
padding-inline-end: var(--swiper-scroll-padding);
|
||||
width: calc(var(--swiper-slide-width) + var(--swiper-scroll-padding));
|
||||
}
|
||||
|
||||
&:only-child {
|
||||
width: calc(var(--swiper-slide-width) + 2 * var(--swiper-scroll-padding));
|
||||
}
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
|
||||
Reference in New Issue
Block a user