Skip to content

Commit

Permalink
Improve bookmarks modal layout on small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
bkis committed Jul 16, 2024
1 parent 6e78ba0 commit 19399f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tekst-Web/src/components/browse/BookmarksWidget.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ async function handleBookmarkSelect(bookmark: BookmarkRead) {
<n-list hoverable clickable style="background-color: transparent">
<n-list-item
:class="{ disabled: loading || maxCountReached }"
@click="!loading && handleCreateBookmarkClick()"
@click="!loading && !maxCountReached && handleCreateBookmarkClick()"
>
<n-thing :content-indented="!state.smallScreen">
<n-thing content-indented>
<template #avatar>
<n-icon :component="AddIcon" size="large" />
</template>
Expand All @@ -112,7 +112,7 @@ async function handleBookmarkSelect(bookmark: BookmarkRead) {
:content-indented="!state.smallScreen"
description-style="font-size: var(--font-size-tiny)"
>
<template #avatar>
<template v-if="!state.smallScreen" #avatar>
<n-icon :component="BookIcon" size="large" />
</template>
<template #header>
Expand Down

0 comments on commit 19399f7

Please sign in to comment.