Skip to content

Commit c80f7fa

Browse files
Kateryna ProkopenkoDevtools-frontend LUCI CQ
authored andcommitted
Add a set of sizes to icon component
Bug: 414330824 Change-Id: I183856a4f58d36a8e775c04b735aab873916de47 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6845987 Commit-Queue: Kim-Anh Tran <[email protected]> Reviewed-by: Kim-Anh Tran <[email protected]> Auto-Submit: Kateryna Prokopenko <[email protected]>
1 parent 4c7f4da commit c80f7fa

File tree

1 file changed

+25
-0
lines changed
  • front_end/ui/components/icon_button

1 file changed

+25
-0
lines changed

front_end/ui/components/icon_button/icon.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,31 @@
1515
position: relative;
1616
}
1717

18+
:host(.extra-small) {
19+
height: var(--sys-size-6);
20+
width: var(--sys-size-6);
21+
}
22+
23+
:host(.small) {
24+
height: var(--sys-size-7);
25+
width: var(--sys-size-7);
26+
}
27+
28+
:host(.medium) {
29+
height: var(--sys-size-8);
30+
width: var(--sys-size-8);
31+
}
32+
33+
:host(.large) {
34+
height: 18px;
35+
width: 18px;
36+
}
37+
38+
:host(.extra-large) {
39+
height: var(--sys-size-9);
40+
width: var(--sys-size-9);
41+
}
42+
1843
:host([hidden]) {
1944
display: none;
2045
}

0 commit comments

Comments
 (0)