feat(fe2): add tooltip to "Open selection in new window" (#2308)

* feat(fe2): add tooltip to "Open selection in new window"

* Add screen reader text
This commit is contained in:
andrewwallacespeckle
2024-05-31 12:06:19 +02:00
committed by GitHub
parent 679a02e50c
commit fed383b9e2
@@ -28,16 +28,13 @@
Isolate
</div>
</FormButton>
<div class="w-full text-right">
<FormButton
title="Open selection in new window"
size="xs"
text
:to="selectionLink"
target="_blank"
>
<ArrowTopRightOnSquareIcon class="w-4" />
</FormButton>
<div class="flex justify-end w-full">
<div v-tippy="`Open selection in new window`" class="max-w-max">
<FormButton size="xs" :to="selectionLink" color="secondary" target="_blank">
<span class="sr-only">Open selection in new window</span>
<ArrowTopRightOnSquareIcon class="w-4" />
</FormButton>
</div>
</div>
</template>
<div class="p-1 mb-2 sm:mb-0 sm:py-2">