Skip to content

Commit

Permalink
fix: Small visual fixes
Browse files Browse the repository at this point in the history
fixes #2168

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Jun 6, 2024
1 parent 2f129a5 commit 6023042
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/components/BookmarkContent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ export default {
width: auto;
}
.bookmark-content .empty-content {
margin: 150px auto;
width: 600px;
}
.bookmark-content .content iframe {
height: 100%;
width: 100%;
Expand Down
5 changes: 3 additions & 2 deletions src/components/SidebarBookmark.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<template>
<NcAppSidebar v-if="isActive"
class="sidebar"
:name="bookmark.title"
:name="bookmark.title || t('bookmarks', '(Empty title)')"
:name-editable="editingTitle"
:name-placeholder="t('bookmarks', 'Title')"
:subtitle="addedDate"
Expand Down Expand Up @@ -37,7 +37,7 @@
<template #icon>
<InformationVariantIcon :size="20" />
</template>
<div>
<div class="sidebar">
<div v-if="!editingTarget" class="details__line">
<OpenInNewIcon :size="20" :aria-label="t('bookmarks', 'Link')" :title="t('bookmarks', 'Link')" />
<a class="details__url" :href="bookmark.target === bookmark.url ? bookmark.target : 'javascript:void(0)'">{{ bookmark.target }}</a>
Expand Down Expand Up @@ -305,6 +305,7 @@ export default {
.sidebar .details__line > * {
flex-grow: 0;
margin-right: 10px;
}
.sidebar .details__line > :nth-child(2) {
Expand Down

0 comments on commit 6023042

Please sign in to comment.