mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-01-26 19:09:52 +00:00
Style: explicit font size for the badges (#6260)
## Summary More consistent height regardless the text content. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6260-Style-explicit-font-size-for-the-badges-2966d73d365081bd90a0d01f7e104b9a) by [Unito](https://www.unito.io) --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div
|
||||
v-if="badge.icon || badge.text"
|
||||
class="flex flex-auto items-center rounded-sm bg-node-component-surface px-1 py-0.5"
|
||||
class="flex flex-auto items-center rounded-sm bg-node-component-surface px-1 py-0.5 text-xs"
|
||||
:style="{
|
||||
color: badge.fgColor,
|
||||
backgroundColor: badge.bgColor
|
||||
|
||||
Reference in New Issue
Block a user