Skip to content

Commit ac890d0

Browse files
committed
fix styling around icons and line height for ref items
1 parent 18f4123 commit ac890d0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,8 @@ export class UUIRefNodeElement extends UUIRefElement {
183183
display: flex;
184184
flex-grow: 1;
185185
align-items: center;
186-
justify-content: center;
187186
line-height: 1.2em;
188-
padding: calc(var(--uui-size-2));
187+
padding: calc(var(--uui-size-3));
189188
}
190189
191190
#open-part {
@@ -211,10 +210,12 @@ export class UUIRefNodeElement extends UUIRefElement {
211210
justify-content: center;
212211
height: 100%;
213212
padding-left: var(--uui-size-2);
213+
margin-top: 1px;
214214
}
215215
216216
#detail {
217217
opacity: 0.6;
218+
line-height: 1.2em;
218219
}
219220
220221
:host([selectable]) #open-part {

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ export class UUIRefElement extends SelectOnlyMixin(
6969
justify-content: space-between;
7070
align-items: center;
7171
width: 100%;
72+
font-size: var(--uui-font-size);
7273
7374
box-sizing: border-box;
7475
border-radius: var(--uui-border-radius);

0 commit comments

Comments
 (0)