Skip to content

Commit

Permalink
enhance(layout): add margin for "(en-US)" indicator (#12204)
Browse files Browse the repository at this point in the history
  • Loading branch information
leon-win authored Nov 29, 2024
1 parent 8e0d1f9 commit 450e433
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions client/src/document/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -818,12 +818,6 @@ math[display="block"] {
}
}

.only-in-en-us {
span {
font-size: 0.8125rem;
}
}

a.page-not-created {
cursor: not-allowed;

Expand Down Expand Up @@ -953,6 +947,7 @@ html a.only-in-en-us:after {
content: "(en-US)";
display: inline-block;
font-size: var(--type-tiny-font-size);
margin-left: 0.5ch;
vertical-align: super;
}

Expand Down Expand Up @@ -986,10 +981,12 @@ html[lang="pt-BR"] a.only-in-en-us:after {

html[lang="zh-CN"] a.only-in-en-us:after {
content: "(英语)";
margin-left: unset;
vertical-align: baseline;
}

html[lang="zh-TW"] a.only-in-en-us:after {
content: "(英語)";
margin-left: unset;
vertical-align: baseline;
}

0 comments on commit 450e433

Please sign in to comment.