-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[4.0] Searchtools mobile display #27443
Changes from 1 commit
ded3480
8b25305
1b1ba2a
118dc6f
dd5f0c0
6b206ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -106,6 +106,54 @@ | |
margin-left: 0.5rem; | ||
margin-right: 0; | ||
} | ||
|
||
@include media-breakpoint-down(sm) { | ||
float: none !important; | ||
width: 100%; | ||
|
||
[dir=ltr] & { | ||
margin-right: 0; | ||
} | ||
|
||
[dir=rtl] & { | ||
margin-right: 0; | ||
} | ||
} | ||
|
||
@include media-breakpoint-down(xs) { | ||
float: none !important; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already defined under |
||
width: 100%; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already defined under |
||
|
||
[dir=ltr] & { | ||
margin-right: 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already defined under |
||
} | ||
|
||
[dir=rtl] & { | ||
margin-right: 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already defined under |
||
margin-left: 0; | ||
} | ||
} | ||
|
||
.js-stools-field-selector { | ||
@include media-breakpoint-down(sm) { | ||
max-width: 100%; | ||
margin-right: 0; | ||
|
||
[dir=rtl] & { | ||
margin-right: 0; | ||
} | ||
} | ||
|
||
@include media-breakpoint-down(xs) { | ||
max-width: 100%; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already defined under |
||
margin-right: .5rem; | ||
|
||
[dir=rtl] & { | ||
margin-right: 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already defined under |
||
margin-left: 0; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.js-stools-container-selector-first { | ||
|
@@ -116,10 +164,6 @@ | |
[dir=rtl] & { | ||
margin-left: 0.5rem; | ||
} | ||
} | ||
|
||
.js-stools-container-selector, | ||
.js-stools-container-selector-first { | ||
|
||
@include media-breakpoint-down(sm) { | ||
float: none !important; | ||
|
@@ -134,6 +178,20 @@ | |
} | ||
} | ||
|
||
@include media-breakpoint-down(xs) { | ||
float: none !important; | ||
width: 100%; | ||
|
||
[dir=ltr] & { | ||
margin-right: 0; | ||
} | ||
|
||
[dir=rtl] & { | ||
margin-right: 0; | ||
margin-left: 0; | ||
} | ||
} | ||
|
||
.js-stools-field-selector { | ||
@include media-breakpoint-down(sm) { | ||
max-width: 100%; | ||
|
@@ -143,6 +201,15 @@ | |
margin-right: 0; | ||
} | ||
} | ||
|
||
@include media-breakpoint-down(xs) { | ||
max-width: 100%; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already defined under |
||
margin-right: .5rem; | ||
|
||
[dir=rtl] & { | ||
margin-right: 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Already defined under |
||
} | ||
} | ||
} | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as the value is the same for LTR and RTL you should not need to have individual settings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. There are other places to also simplify. let's wait for more small changes to modify.