Skip to content

Commit

Permalink
build: lint CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
WaitSpringQW committed Jul 25, 2024
1 parent 378fd82 commit 97eba3d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
7 changes: 2 additions & 5 deletions resources/skins.citizen.styles/Drawer.less
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@
}

&__menu {
// Fallback
display: flex;
display: flex; // Fallback
display: grid;
flex-direction: column;
max-height: 46.25vh;
// End fallback
overflow-y: auto;
/* stylelint-disable-next-line declaration-block-no-duplicate-properties */
display: grid;
max-width: 92.5vw;
justify-content: center;
padding: var( --space-xs ) var( --space-md );
Expand Down
7 changes: 2 additions & 5 deletions resources/skins.citizen.styles/Pagetools.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@

// TODO: Merge this with header__button
&__button {
// Fallback
display: flex;
justify-content: center;
// End fallback
/* stylelint-disable-next-line declaration-block-no-duplicate-properties */
display: flex; // Fallback
display: grid;
justify-content: center;
width: 2.75rem; // Same width as other buttons
height: 2.25rem; // Same height as other buttons
border-radius: var( --border-radius--medium );
Expand Down
7 changes: 2 additions & 5 deletions resources/skins.citizen.styles/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@
}

.citizen-body-container {
// Fallback
display: flex;
flex-direction: column;
// End fallback
/* stylelint-disable-next-line declaration-block-no-duplicate-properties */
display: flex; // Fallback
display: grid;
flex-direction: column;
justify-content: center;
padding: var( --space-xl ) var( --padding-page );
gap: var( --space-md ) var( --space-md );
Expand Down
7 changes: 2 additions & 5 deletions skinStyles/extensions/MultimediaViewer/mmv.less
Original file line number Diff line number Diff line change
Expand Up @@ -499,13 +499,10 @@
}

.mw-mmv-image-metadata {
// Fallback
display: flex;
display: flex; // Fallback
display: grid;
flex-wrap: wrap;
justify-content: space-between;
// Use grid instead
/* stylelint-disable-next-line declaration-block-no-duplicate-properties */
display: grid;
width: auto;
padding: 0 var( --space-md ) var( --space-md ) var( --space-md );
border-top: 0;
Expand Down

0 comments on commit 97eba3d

Please sign in to comment.