mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-21 21:31:44 +02:00
fix(actions): align status icon span for Safari rendering (#38558)
Fixes #38553 The `<span>` wrapping the SVG in `ActionStatusIcon.vue` had no explicit display or alignment styles. Safari computes baseline alignment for inline spans differently from Chrome/Firefox, causing the icon to shift vertically in the action matrix build status list. **Fix:** make it inline-flex --------- Signed-off-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
@@ -28,7 +28,7 @@ const iconClass = computed(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span :data-tooltip-content="localeStatus ?? status" v-if="status">
|
||||
<span class="flex-text-inline" :data-tooltip-content="localeStatus ?? status" v-if="status">
|
||||
<SvgIcon :name="icon.name" :class="iconClass" :size="size"/>
|
||||
</span>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user