Skip to content

Commit fe5feb8

Browse files
authored
fix(lumo): make icon theme respect tertiary-inline (#134)
1 parent 5ef0206 commit fe5feb8

File tree

6 files changed

+5
-1
lines changed

6 files changed

+5
-1
lines changed

test/visual/icons.html

+4
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,8 @@ <h2>Icons and size presets</h2>
6565
<span>Icon suffix</span>
6666
<iron-icon slot="suffix" icon="lumo:arrow-right"></iron-icon>
6767
</vaadin-button>
68+
69+
<vaadin-button theme="icon tertiary-inline">
70+
<iron-icon icon="lumo:edit"></iron-icon>
71+
</vaadin-button>
6872
</body>
Loading
Loading
Loading
Loading

theme/lumo/vaadin-button-styles.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@
256256

257257
/* Icon-only */
258258

259-
:host([theme~="icon"]) {
259+
:host([theme~="icon"]:not([theme~="tertiary-inline"])) {
260260
min-width: var(--lumo-button-size);
261261
padding-left: calc(var(--lumo-button-size) / 4);
262262
padding-right: calc(var(--lumo-button-size) / 4);

0 commit comments

Comments
 (0)