More vertically compact poll UI
This commit is contained in:
parent
caee38c98f
commit
d3c964fad3
|
@ -828,6 +828,7 @@ a.card:is(:hover, :focus) {
|
|||
|
||||
.poll {
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.poll.loading {
|
||||
opacity: 0.5;
|
||||
|
@ -837,7 +838,6 @@ a.card:is(:hover, :focus) {
|
|||
pointer-events: none;
|
||||
}
|
||||
.poll-option {
|
||||
margin-top: 8px;
|
||||
padding: 8px;
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
|
@ -851,11 +851,21 @@ a.card:is(:hover, :focus) {
|
|||
transparent
|
||||
);
|
||||
background-repeat: no-repeat;
|
||||
border-radius: 8px;
|
||||
/* border-radius: 8px; */
|
||||
border: 1px solid var(--outline-color);
|
||||
border-bottom: 0;
|
||||
align-items: center;
|
||||
text-shadow: 0 1px var(--bg-blur-color);
|
||||
}
|
||||
.poll-option:first-child {
|
||||
border-top-left-radius: 8px;
|
||||
border-top-right-radius: 8px;
|
||||
}
|
||||
.poll-option:last-of-type {
|
||||
border-bottom: 1px solid var(--outline-color);
|
||||
border-bottom-left-radius: 8px;
|
||||
border-bottom-right-radius: 8px;
|
||||
}
|
||||
.poll-label {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
|
|
Loading…
Reference in a new issue