🚚 Refactor form elemts
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
<template>
|
||||
<button @click="click()" :disabled="disabled" :class="disallow ? 'disallowed': ''">
|
||||
<button
|
||||
@click="click ? click() : () => null"
|
||||
:disabled="disabled"
|
||||
:class="disallow ? 'disallowed': ''"
|
||||
>
|
||||
<slot></slot>
|
||||
<slot name="text"></slot>
|
||||
<slot name="icon"></slot>
|
||||
|
||||
@@ -273,8 +273,9 @@ export default {
|
||||
&:focus {
|
||||
outline: 2px solid var(--primary);
|
||||
}
|
||||
&.short {
|
||||
height: 18px;
|
||||
&.short:not(.size-large) {
|
||||
height: 2rem;
|
||||
.tile-title { overflow: visible; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user