Files
speckle-server/packages/frontend-2/components/viewer/button-group/Button.vue
T
Benjamin Ottensten cba989722b Fix: Various fixes around saved views (#5345)
* Update empty state copy

* Various copy changes

* Make search smaller

* Tweak spacings

* Better position search

* Polish styling of button group

* Add tooltip to visibility icons

* Fix position of saved view tooltip

* Changes to ··· menus

* Update copy in view details modal

* Fix styling of group empty state

* Fix width of group title while renaming

* Capitalize date

* Change icon color

* Fix truncation

* Add tooltips to all actions

* Undo truncation hover fix

I need to find a different way to fix this. Later.
2025-08-29 15:31:07 +02:00

15 lines
294 B
Vue

<template>
<button
class="flex items-center justify-center rounded-[5px] text-foreground"
:class="[isActive ? 'shadow-md bg-foundation' : 'hover:bg-foundation-page']"
>
<slot />
</button>
</template>
<script setup lang="ts">
defineProps<{
isActive?: boolean
}>()
</script>