From c6a173eb6e47a9ae4b0b4790eb76517f17a1c44e Mon Sep 17 00:00:00 2001 From: Mads Rasmussen Date: Tue, 26 Nov 2024 18:18:04 +0100 Subject: [PATCH] align icon in ref items --- packages/uui-ref-node/lib/uui-ref-node.element.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/uui-ref-node/lib/uui-ref-node.element.ts b/packages/uui-ref-node/lib/uui-ref-node.element.ts index f8e12b8f5..9798651d9 100644 --- a/packages/uui-ref-node/lib/uui-ref-node.element.ts +++ b/packages/uui-ref-node/lib/uui-ref-node.element.ts @@ -178,18 +178,16 @@ export class UUIRefNodeElement extends UUIRefElement { } #content { - align-self: stretch; - line-height: normal; display: flex; - position: relative; align-items: center; + justify-content: center; + line-height: 1.2em; } #open-part { color: inherit; text-decoration: none; cursor: pointer; - align-self: stretch; display: flex; flex-grow: 1; padding: calc(var(--uui-size-2)); @@ -199,6 +197,9 @@ export class UUIRefNodeElement extends UUIRefElement { font-size: 1.2em; margin-left: var(--uui-size-2); margin-right: var(--uui-size-1); + display: flex; + align-items: center; + justify-content: center; } #info {