fix: constrain options row pulldowns on mobile
This commit is contained in:
1 parent
a927dae61d
commit
3461be6f8f
1 file changed
+22
@@ -18,6 +18,7 @@
|
|||||||
--layout-help-panel-width: var(--layout-options-row-help-panel-width);
|
--layout-help-panel-width: var(--layout-options-row-help-panel-width);
|
||||||
margin-top: var(--layout-options-row-margin-top);
|
margin-top: var(--layout-options-row-margin-top);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
min-width: 0;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
gap: var(--layout-options-row-main-gap);
|
gap: var(--layout-options-row-main-gap);
|
||||||
padding:
|
padding:
|
||||||
@@ -36,6 +37,7 @@
|
|||||||
.sg-options-row__left,
|
.sg-options-row__left,
|
||||||
.sg-options-row__right {
|
.sg-options-row__right {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
min-width: 0;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: var(--layout-options-row-group-gap);
|
gap: var(--layout-options-row-group-gap);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@@ -55,6 +57,11 @@
|
|||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sg-options-row__left > .sg-pulldown-demo {
|
||||||
|
min-width: 0;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 48rem) {
|
@media (max-width: 48rem) {
|
||||||
.sg-options-row {
|
.sg-options-row {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -109,6 +116,21 @@
|
|||||||
.sg-options-row__left > .sg-input-single-line-wrap .sg-input-single-line,
|
.sg-options-row__left > .sg-input-single-line-wrap .sg-input-single-line,
|
||||||
.sg-options-row__left > .sg-pulldown-demo .sg-pulldown {
|
.sg-options-row__left > .sg-pulldown-demo .sg-pulldown {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
min-width: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sg-options-row__left > .sg-pulldown-demo {
|
||||||
|
width: 100%;
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sg-options-row .sg-pulldown-panel {
|
||||||
|
width: 100%;
|
||||||
|
min-width: 0;
|
||||||
|
max-width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sg-options-row[data-pattern="multiselektions-pulldown"] .sg-pulldown-panel {
|
.sg-options-row[data-pattern="multiselektions-pulldown"] .sg-pulldown-panel {
|
||||||
|
|||||||
Reference in new issue
Block a user