mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
refactor(Calendar): use fixed widths for selector
This commit is contained in:
parent
320bca2e35
commit
73ab4adf4a
1 changed files with 11 additions and 7 deletions
|
|
@ -6,17 +6,17 @@
|
|||
flex: none;
|
||||
position: relative;
|
||||
display: flex;
|
||||
gap: 3rem;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.prev, .next {
|
||||
position: relative;
|
||||
height: 3rem;
|
||||
width: 6rem;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 0.5rem;
|
||||
border-radius: 0.5rem;
|
||||
transition: background-color 0.1s ease-out;
|
||||
|
|
@ -30,6 +30,9 @@
|
|||
.label {
|
||||
font-size: 1rem;
|
||||
font-weight: 500;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.icon {
|
||||
|
|
@ -46,22 +49,21 @@
|
|||
}
|
||||
|
||||
.prev {
|
||||
justify-content: start;
|
||||
padding-left: 0.5rem;
|
||||
padding-right: 1rem;
|
||||
}
|
||||
|
||||
.next {
|
||||
justify-content: end;
|
||||
padding-left: 1rem;
|
||||
padding-right: 0.5rem;
|
||||
}
|
||||
|
||||
.selected {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
overflow: hidden;
|
||||
width: 8.5rem;
|
||||
text-align: center;
|
||||
|
||||
.year {
|
||||
font-size: 1rem;
|
||||
|
|
@ -75,7 +77,9 @@
|
|||
font-size: 1.5rem;
|
||||
font-weight: 500;
|
||||
color: var(--primary-foreground-color);
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue