Skip to content

Commit

Permalink
💄 visual touchupd
Browse files Browse the repository at this point in the history
  • Loading branch information
daiagi committed Apr 10, 2023
1 parent 63f3944 commit 358b0b4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/common/NotificationBox/NotificationBoxModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
<NeoButton
v-if="!showFilter"
no-shadow
class="button-rounded"
class="rounded"
@click.native="showFilter = !showFilter">
{{ $t('notification.add') }}
<NeoIcon icon="plus" size="small" />
</NeoButton>
<NeoButton
v-else
no-shadow
class="button-rounded"
class="rounded"
@click.native="showFilter = !showFilter">
{{ $t('notification.done') }}
<NeoIcon icon="check" size="small" />
Expand Down
8 changes: 6 additions & 2 deletions components/common/NotificationBox/NotificationItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@
<NeoTooltip
:label="displayName"
:append-to-body="false"
class="nft-name mr-4 has-text-weight-bold">
<div class="is-ellipsis">
:delay="1000"
class="nft-name mr-4">
<div class="is-ellipsis is-inline-block">
{{ displayName }}
</div>
</NeoTooltip>
Expand Down Expand Up @@ -84,6 +85,9 @@ const displayName = computed(
<style scoped lang="scss">
@import '@/styles/abstracts/variables';
.is-inline-block {
display: inline-block;
}
.notify-item {
padding: 0.75rem 2rem;
&:hover {
Expand Down
3 changes: 3 additions & 0 deletions libs/ui/src/components/NeoTooltip/NeoTooltip.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
class="neo-tooltip"
:position="position"
:label="label"
:delay="delay"
@click.native.stop>
<slot>
<div />
Expand All @@ -25,11 +26,13 @@ export interface Props {
position?: 'top' | 'bottom' | 'left' | 'right'
active?: boolean
appendToBody?: boolean
delay?: number
}
withDefaults(defineProps<Props>(), {
position: 'top',
active: true,
appendToBody: true,
delay: undefined,
})
</script>

Expand Down

0 comments on commit 358b0b4

Please sign in to comment.