Skip to content

Commit 44da207

Browse files
madsrasmussennielslyngsoe
authored andcommitted
align icon in ref items
1 parent 69520c6 commit 44da207

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/uui-ref-node/lib/uui-ref-node.element.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -178,18 +178,16 @@ export class UUIRefNodeElement extends UUIRefElement {
178178
}
179179
180180
#content {
181-
align-self: stretch;
182-
line-height: normal;
183181
display: flex;
184-
position: relative;
185182
align-items: center;
183+
justify-content: center;
184+
line-height: 1.2em;
186185
}
187186
188187
#open-part {
189188
color: inherit;
190189
text-decoration: none;
191190
cursor: pointer;
192-
align-self: stretch;
193191
display: flex;
194192
flex-grow: 1;
195193
padding: calc(var(--uui-size-2));
@@ -199,6 +197,9 @@ export class UUIRefNodeElement extends UUIRefElement {
199197
font-size: 1.2em;
200198
margin-left: var(--uui-size-2);
201199
margin-right: var(--uui-size-1);
200+
display: flex;
201+
align-items: center;
202+
justify-content: center;
202203
}
203204
204205
#info {

0 commit comments

Comments
 (0)