kopia lustrzana https://github.com/wagtail/wagtail
Prevent select inputs from overflowing the parent container
rodzic
90e848002d
commit
58555abfb0
|
@ -24,6 +24,8 @@ select {
|
||||||
min-height: $select-size;
|
min-height: $select-size;
|
||||||
padding: 0 theme('spacing.5');
|
padding: 0 theme('spacing.5');
|
||||||
padding-inline-end: $select-size;
|
padding-inline-end: $select-size;
|
||||||
|
// Prevent the element from overflowing the container.
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
@media (forced-colors: active) {
|
@media (forced-colors: active) {
|
||||||
appearance: auto;
|
appearance: auto;
|
||||||
|
|
Ładowanie…
Reference in New Issue