mirror of
https://github.com/wavetermdev/backup.git
synced 2026-08-05 13:57:07 -07:00
fix icon position, plus sign, etc.
This commit is contained in:
@@ -91,13 +91,19 @@
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.name {
|
||||
.typeahead-item-name {
|
||||
.ellipsis();
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
font-size: 11px;
|
||||
font-weight: 400;
|
||||
line-height: 14px;
|
||||
|
||||
i {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
top: 2px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ const Suggestions = forwardRef<HTMLDivElement, SuggestionsProps>(({ suggestions,
|
||||
}}
|
||||
className="suggestion-item"
|
||||
>
|
||||
<div className="name">
|
||||
<div className="typeahead-item-name">
|
||||
{item.icon && renderIcon(item.icon, "iconColor" in item && item.iconColor ? item.iconColor : "inherit")}
|
||||
{item.label}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user