fix(dees-label): align label content and icon consistently using inline flex layout

This commit is contained in:
2026-04-12 10:47:18 +00:00
parent 59610f463e
commit 8b8a8ff943
3 changed files with 9 additions and 4 deletions

View File

@@ -50,7 +50,8 @@ export class DeesLabel extends DeesElement {
}
.label {
display: inline-block;
display: inline-flex;
align-items: center;
color: ${cssManager.bdTheme('hsl(0 0% 15%)', 'hsl(0 0% 90%)')};
font-size: 14px;
font-weight: 500;
@@ -67,9 +68,7 @@ export class DeesLabel extends DeesElement {
}
dees-icon {
display: inline-block;
font-size: 12px;
transform: translateY(1px);
margin-left: 4px;
color: ${cssManager.bdTheme('hsl(0 0% 45.1%)', 'hsl(0 0% 63.9%)')};
cursor: help;