Fix slider value visibility on narrow widths
This commit is contained in:
@@ -856,6 +856,7 @@ section + section {
|
||||
|
||||
.sg-slider-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
gap: var(--spacing-small);
|
||||
width: 100%;
|
||||
@@ -869,6 +870,7 @@ section + section {
|
||||
}
|
||||
|
||||
.sg-slider {
|
||||
flex: 1 1 14rem;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: var(--layout-input-field-max-width);
|
||||
@@ -926,7 +928,9 @@ section + section {
|
||||
}
|
||||
|
||||
.sg-slider-value {
|
||||
flex: 0 0 auto;
|
||||
min-width: calc(var(--interaction-height) * 1.25);
|
||||
white-space: nowrap;
|
||||
text-align: right;
|
||||
color: var(--text-control-default);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user