Move pinned posts to a carousel (#34754)
Co-authored-by: diondiondion <mail@diondiondion.com>
This commit is contained in:
parent
47512fe518
commit
ba5320671c
7 changed files with 282 additions and 49 deletions
|
@ -3674,7 +3674,8 @@ $ui-header-logo-wordmark-width: 99px;
|
|||
-webkit-tap-highlight-color: transparent;
|
||||
}
|
||||
|
||||
.react-toggle-screenreader-only {
|
||||
.react-toggle-screenreader-only,
|
||||
.sr-only {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
|
@ -8536,6 +8537,8 @@ noscript {
|
|||
position: absolute;
|
||||
bottom: 3px;
|
||||
inset-inline-end: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -11033,3 +11036,42 @@ noscript {
|
|||
.lists-scrollable {
|
||||
min-height: 50vh;
|
||||
}
|
||||
|
||||
.featured-carousel {
|
||||
background: var(--surface-background-color);
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
border-bottom: 1px solid var(--background-border-color);
|
||||
touch-action: pan-x;
|
||||
|
||||
&__slides {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
&__slide {
|
||||
flex: 0 0 auto;
|
||||
flex-basis: 100%;
|
||||
}
|
||||
|
||||
.status {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
&__header {
|
||||
padding: 8px 16px;
|
||||
color: $darker-text-color;
|
||||
inset-inline-end: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
&__title {
|
||||
flex-grow: 1;
|
||||
font-size: 12px;
|
||||
font-weight: 500;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue