mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
docs: site translation icon style optimization (#18210)
style: site translation icon style optimization
This commit is contained in:
parent
9e5177dbff
commit
7633b1f7e9
@ -39,10 +39,12 @@ const toTranslation = () => {
|
||||
|
||||
<style lang="scss" scoped>
|
||||
@use '../../styles/mixins' as *;
|
||||
|
||||
.translation-container {
|
||||
display: none;
|
||||
height: 24px;
|
||||
padding: 0 12px;
|
||||
cursor: pointer;
|
||||
|
||||
@include respond-to('md') {
|
||||
display: block;
|
||||
@ -67,6 +69,7 @@ const toTranslation = () => {
|
||||
.language {
|
||||
padding: 0 16px;
|
||||
line-height: 28px;
|
||||
|
||||
&.selected {
|
||||
--el-text-color-regular: var(--brand-color);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user