diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-07-03 16:39:12 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-07-03 16:39:12 +1000 |
| commit | 89fc34f82956f2410ee7f1d90e03945e10805dda (patch) | |
| tree | 41b615f4414cf47e1da70497e5bf8173faf3f7b8 /src/components/IconButton.vue | |
| parent | b8694f56d687307c64ba6775f9f0d4c064a2669a (diff) | |
Add styling, mainly for TileInfoModal and Settings
Diffstat (limited to 'src/components/IconButton.vue')
| -rw-r--r-- | src/components/IconButton.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/IconButton.vue b/src/components/IconButton.vue index 0a32095..0294c5b 100644 --- a/src/components/IconButton.vue +++ b/src/components/IconButton.vue @@ -1,6 +1,6 @@ <template> <div class="p-2 rounded-full hover:cursor-pointer" - :class="{'hover:brightness-125': !disabled, 'brightness-75': disabled}" + :class="{'hover:brightness-125': !disabled, 'brightness-50': disabled}" :style="{width: size + 'px', height: size + 'px', padding: (size / 5) + 'px'}"> <slot class="w-full h-full">?</slot> </div> |
