Skip to content

Commit

Permalink
chore: style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarsen136 committed Jan 21, 2025
1 parent f2b09a5 commit 13abf9d
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions components/gallery/GalleryItemToolBar.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<template>
<div
class="w-full xl:w-[465px] xl:ml-4 mr-4 mt-6 px-6 py-3 h-11 rounded-[43px] gap-8 flex justify-center border border-gray-400"
class="w-full xl:w-[465px] xl:ml-4 mr-4 mt-6 px-6 py-3 h-11 rounded-[43px] gap-4 flex justify-center border border-gray-400"
>
<NeoTooltip
:label="$t('reload')"
position="top"
>
<a
<NeoButton
variant="icon"
no-shadow
@click="handleReloadClick"
>
Expand All @@ -16,36 +17,39 @@
:label="$t('reload')"
:spin="isLoading"
/>
</a>
</NeoButton>
</NeoTooltip>
<NeoTooltip
:label="$t('fullscreen')"
position="top"
>
<a
<NeoButton
variant="icon"
no-shadow
@click="$emit('toggle')"
>
<NeoIcon
icon="arrow-up-right-and-arrow-down-left-from-center"
size="medium"
/>
</a>
</NeoButton>
</NeoTooltip>
<NeoTooltip
:label="$t('newTab')"
position="top"
>
<a
<NeoButton
v-if="disableNewTab"
variant="icon"
no-shadow
@click="handleNewTab"
>
<NeoIcon
icon="arrow-up-right"
size="medium"
/>
</a>
</NeoButton>

<NeoIcon
v-else
icon="arrow-up-right"
Expand All @@ -58,21 +62,22 @@
:label="$t('moreActions.download')"
position="top"
>
<a
<NeoButton
variant="icon"
no-shadow
@click="downloadMedia"
>
<NeoIcon
icon="arrow-down-to-line"
size="medium"
/>
</a>
</NeoButton>
</NeoTooltip>
</div>
</template>

<script setup lang="ts">
import { NeoIcon, NeoTooltip } from '@kodadot1/brick'
import { NeoIcon, NeoTooltip, NeoButton } from '@kodadot1/brick'
import {
determineElementType,
Expand Down

0 comments on commit 13abf9d

Please sign in to comment.