Skip to content

Commit

Permalink
解决语言切换图标可能看不见的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
putianyi889 committed Jun 30, 2024
1 parent 25696a0 commit c1442b4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions front_end/src/components/LanguagePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ const changeLanguage = (value: any) => {

<style lang="less" scoped>
.icon {
margin-top: v-bind("local.menu_height / 4 + 'px'");
margin-bottom: v-bind("local.menu_height / 4 + 'px'");
margin-top: v-bind("(local.menu_height - local.menu_font_size) / 2 + 'px'");
min-width: v-bind("local.menu_font_size + 'px'");
height: v-bind("local.menu_font_size + 'px'");
cursor: pointer;
}
</style>

0 comments on commit c1442b4

Please sign in to comment.