Skip to content

Commit

Permalink
Fix content width changing when switching tabs - 6
Browse files Browse the repository at this point in the history
Fix content width changing when switching tabs in Special:Preferences - attempt 6.

Caused by min() , max() .

Bug: lakejason0#40
Bug: lakejason0#41
Bug: lakejason0#42
Bug: lakejason0#43
Change-Id: I1b3d150b8231244948ebd83f92e0f256cfb6f1ac
  • Loading branch information
winstonsung committed Apr 26, 2024
1 parent 69e2e15 commit dd5ff08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/skin.less
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ p {
color: @text-color-body;

@media screen and ( min-width: @width-breakpoint-tablet ) {
width: max( @width-breakpoint-tablet, ~"70%" );
width: ~"max(" @width-breakpoint-tablet, ~"70% )";
max-width: 100%;
}

Expand Down Expand Up @@ -585,7 +585,7 @@ main {
margin-top: 40px;

@media screen and ( min-width: @width-breakpoint-tablet ) {
width: max( @width-breakpoint-tablet, ~"70%" );
width: ~"max(" @width-breakpoint-tablet, ~"70% )";
margin: 10px auto 40px;
}
}
Expand Down

0 comments on commit dd5ff08

Please sign in to comment.