style: fix the width and height of the redis type tag
This commit is contained in:
parent
4ed93902a6
commit
3321fbf6fd
|
@ -68,6 +68,7 @@ const label = computed(() => {
|
|||
'redis-type-tag-small': !props.short && props.size === 'small',
|
||||
'redis-type-tag-round': props.round,
|
||||
'redis-type-tag-loading': props.loading,
|
||||
'redis-type-tag': props.short,
|
||||
}"
|
||||
:color="{ color: backgroundColor, textColor: fontColor }"
|
||||
:size="props.size"
|
||||
|
@ -112,4 +113,13 @@ const label = computed(() => {
|
|||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
|
||||
.redis-type-tag {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue