-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
171b00c
commit 534d451
Showing
1 changed file
with
22 additions
and
22 deletions.
There are no files selected for viewing
44 changes: 22 additions & 22 deletions
44
packages/dataviews/src/components/dataviews-view-config/style.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
.dataviews-view-config { | ||
width: 363px; | ||
container-type: inline-size; | ||
padding: $grid-unit-20; | ||
width: 363px; | ||
container-type: inline-size; | ||
padding: $grid-unit-20; | ||
} | ||
.dataviews-view-config__sort-direction .components-toggle-group-control-option-base { | ||
text-transform: uppercase; | ||
text-transform: uppercase; | ||
} | ||
|
||
.dataviews-settings-section__title.dataviews-settings-section__title { | ||
line-height: $grid-unit-30; | ||
line-height: $grid-unit-30; | ||
} | ||
|
||
.dataviews-view-config__field-control-button.is-hidden { | ||
opacity: 0.3; | ||
opacity: 0.3; | ||
} | ||
|
||
.dataviews-settings-section__sidebar { | ||
grid-column: span 4; | ||
grid-column: span 4; | ||
} | ||
|
||
.dataviews-settings-section__content, | ||
.dataviews-settings-section__content > * { | ||
grid-column: span 8; | ||
grid-column: span 8; | ||
} | ||
|
||
.dataviews-settings-section__content .is-divided-in-two { | ||
display: contents; | ||
& > * { | ||
grid-column: span 4; | ||
} | ||
display: contents; | ||
& > * { | ||
grid-column: span 4; | ||
} | ||
} | ||
|
||
/* stylelint-disable-next-line scss/at-rule-no-unknown -- '@container' not globally permitted */ | ||
@container (max-width: 500px) { | ||
.dataviews-settings-section.dataviews-settings-section { | ||
grid-template-columns: repeat( 2, 1fr ); | ||
.dataviews-settings-section__sidebar { | ||
grid-column: span 2; | ||
} | ||
.dataviews-settings-section__content { | ||
grid-column: span 2; | ||
} | ||
} | ||
.dataviews-settings-section.dataviews-settings-section { | ||
grid-template-columns: repeat( 2, 1fr ); | ||
.dataviews-settings-section__sidebar { | ||
grid-column: span 2; | ||
} | ||
.dataviews-settings-section__content { | ||
grid-column: span 2; | ||
} | ||
} | ||
} |