mirror of https://github.com/halo-dev/halo
fix: content offset caused by empty slot (#6040)
#### What type of PR is this? /area ui /kind improvement #### Which issue(s) this PR fixes: Fixes #5877 ```release-note 修复Tag Icon为空时,后台文章的Tag内容不居中 ```pull/6049/head
parent
e446054813
commit
f2a0c502e3
|
@ -51,7 +51,8 @@ const classes = computed(() => {
|
||||||
h-5
|
h-5
|
||||||
text-xs
|
text-xs
|
||||||
border
|
border
|
||||||
border-solid;
|
border-solid
|
||||||
|
px-1;
|
||||||
|
|
||||||
&.tag-default {
|
&.tag-default {
|
||||||
border: 1px solid #d9d9d9;
|
border: 1px solid #d9d9d9;
|
||||||
|
@ -82,13 +83,5 @@ const classes = computed(() => {
|
||||||
.tag-content {
|
.tag-content {
|
||||||
@apply px-1;
|
@apply px-1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tag-left-icon {
|
|
||||||
@apply pl-1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tag-right-icon {
|
|
||||||
@apply pr-1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue