feat: global workspace selector (#2922)

Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Nivedin
2023-02-24 23:20:02 +05:30
committed by GitHub
parent 4ca6e9ec3a
commit 7e686a8882
35 changed files with 1130 additions and 808 deletions

View File

@@ -3,7 +3,7 @@
:to="to"
:exact="exact"
:blank="blank"
class="inline-flex items-center px-4 py-2 truncate rounded transition focus:outline-none"
class="inline-flex items-center px-4 py-2 truncate transition rounded focus:outline-none"
:class="[
color
? `text-${color}-500 hover:text-${color}-600 focus-visible:text-${color}-600`
@@ -19,11 +19,13 @@
class="opacity-75 svg-icons"
:class="label ? (reverse ? 'ml-4' : 'mr-4') : ''"
/>
{{ label }}
<div class="truncate max-w-54">
{{ label }}
</div>
</HoppSmartLink>
</template>
<script>
<script lang="ts">
import { defineComponent } from "vue"
export default defineComponent({

View File

@@ -25,9 +25,9 @@
class="svg-icons"
:class="label ? 'mr-4 opacity-75' : ''"
/>
<span class="truncate">
<div class="truncate max-w-54">
{{ label }}
</span>
</div>
</HoppSmartLink>
</template>