Skip to content

Commit

Permalink
fix: 🐛 thumbnail color for current preview resolution
Browse files Browse the repository at this point in the history
Signed-off-by: WaitSpring <[email protected]>
  • Loading branch information
WaitSpringQW committed Jan 1, 2024
1 parent 5550b63 commit 8ea94e1
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
/*
* Citizen
*
* SkinStyles for File pages
* Module: mediawiki.action.view.filepage
* Version: 1.39.0
*
* Date: 2022-10-28
* Date: 2022-10-28
*/

@import '../../../resources/mixins.less';
Expand Down Expand Up @@ -49,7 +49,7 @@
.mw-filepage-resolutioninfo {
margin-top: var(--space-xs);
margin-right: ~'calc( var( --space-xxs ) * -1 )';
// Compensate for margin in links, because we can't use flex gap
// Compensate for margin in links, because we can't use flex gap
margin-left: ~'calc( var( --space-xxs ) * -1 )';
// HACK: Hide text
font-size: 0;
Expand Down Expand Up @@ -77,7 +77,7 @@

// Current preview resolution
> .mw-thumbnail-link {
background-color: var(--color-primary);
background-color: var(--color-primary) !important;
color: #fff;
}
}
Expand Down

0 comments on commit 8ea94e1

Please sign in to comment.