docs: site translation icon style optimization (#18210)

style: site translation icon style optimization
This commit is contained in:
阿菜 Cai 2024-09-07 07:51:51 +08:00 committed by GitHub
parent 9e5177dbff
commit 7633b1f7e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}