Skip to content

Commit

Permalink
修复hint的宽度问题
Browse files Browse the repository at this point in the history
  • Loading branch information
tidys committed Feb 22, 2025
1 parent 8f9532b commit 7f63d58
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/cc-footbar/index.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<template>
<div class="version">
<div v-if="!!hintKey" class="hint" title="今日/总计">
<img :src="hintUrl" />
</div>
<img v-if="!!hintKey" class="hint" title="今日/总计" :src="hintUrl" />
<CMD v-for="(item, index) in commands" :data="item" :key="index"></CMD>
<div class="placeHolder" :style="{ color: tipColor }">{{ tips }}</div>
<div class="divider"></div>
Expand Down Expand Up @@ -250,7 +248,7 @@ export default defineComponent({
flex-direction: row;
align-items: center;
.hint {
width: 91px;
min-width: 91px;
height: 20px;
}
.placeHolder {
Expand Down

0 comments on commit 7f63d58

Please sign in to comment.