fix(webui): IconButton passes down `plain` attribute

also has valid markup
feat/tables
Tomáš Mládek 2024-02-17 17:04:27 +01:00
parent 1dd4f059d3
commit 656dc23bfb
1 changed files with 4 additions and 6 deletions

View File

@ -23,10 +23,10 @@
{title}
style="--color: {color}"
>
<Icon {name} />
<div class="text">
<Icon {plain} {name} />
<span class="text">
<slot />
</div>
</span>
</button>
<style lang="scss">
@ -45,9 +45,6 @@
padding: 0;
}
display: flex;
align-items: center;
transition:
opacity 0.2s,
color 0.2s,
@ -81,6 +78,7 @@
}
.text {
display: block;
font-size: 0.5em;
text-align: center;
margin-top: 0.2em;