-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. https://nft-develop.matters.news/ (zh-han traditional is working) 2. https://nft-develop.matters.news/en/ (english is working) 3. https://nft-develop.matters.news/zh-hans/ (not working if directly access) [NFT Page] - I18N & Language Switching #23 [NFT Page] - I18N & Language Switching 5pt feature request #9
- Loading branch information
Showing
10 changed files
with
65 additions
and
70 deletions.
There are no files selected for viewing
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
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
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
18 changes: 12 additions & 6 deletions
18
src/components/Layout/Header/LanguageSwitch/styles.module.css
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,23 +1,29 @@ | ||
|
||
.switches { | ||
--width-margin-x: 0.25rem; | ||
|
||
margin-right: var(--width-margin-x); | ||
margin-left: var(--width-margin-x); | ||
font-size: smaller; | ||
margin-left: 0.25rem; | ||
margin-right: 0.25rem; | ||
|
||
& button span { | ||
padding-left: 0.25rem; | ||
padding-right: 0.25rem; | ||
margin-right: var(--width-margin-x); | ||
margin-left: var(--width-margin-x); | ||
} | ||
|
||
& ul { | ||
position: absolute; | ||
display: none; | ||
|
||
& li { | ||
padding-left: 1.25rem; | ||
|
||
& a:hover { | ||
color: #bbc; | ||
} | ||
} | ||
} | ||
|
||
&:hover ul { | ||
display: block; | ||
} | ||
} | ||
} |
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
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
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
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
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
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