mirror of
https://github.com/discourse/discourse.git
synced 2025-03-04 10:19:40 +00:00
UX: improve poll text wrap (#24732)
This commit is contained in:
parent
efcb5bb3df
commit
22bb1c8951
@ -65,6 +65,7 @@ div.poll {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
gap: 0.25em 0;
|
||||
|
||||
@include breakpoint("mobile-extra-large", min-width) {
|
||||
@ -101,15 +102,24 @@ div.poll {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
.info-label,
|
||||
.info-number {
|
||||
margin: 0;
|
||||
}
|
||||
+ .poll-info_counts-count {
|
||||
margin-top: 0.5em;
|
||||
display: block;
|
||||
.info-number {
|
||||
margin-right: 0.33em;
|
||||
}
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
min-width: 0;
|
||||
gap: 0 0.33em;
|
||||
margin: 0.5em;
|
||||
.info-number,
|
||||
.info-label {
|
||||
font-size: var(--font-up-1);
|
||||
min-width: 0;
|
||||
white-space: normal;
|
||||
line-height: var(--line-height-medium);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user