fix(webui): IconButton passes down `plain` attribute
also has valid markupfeat/tables
parent
1dd4f059d3
commit
656dc23bfb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue