Skip to content

Commit

Permalink
show title and close of modal inline
Browse files Browse the repository at this point in the history
Signed-off-by: Simon L <szaimen@e.mail.de>
  • Loading branch information
szaimen authored and backportbot-nextcloud[bot] committed Dec 6, 2023
1 parent 6775d09 commit 61c9498
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/views/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,16 +126,13 @@

<NcModal v-if="showAlbumCreationForm"
key="albumCreationForm"
:close-button-contained="false"
:name="t('photos', 'New album')"
@close="showAlbumCreationForm = false">
<h2 class="timeline__heading">{{ t('photos', 'New album') }}</h2>
<AlbumForm @done="showAlbumCreationForm = false" />
</NcModal>

<NcModal v-if="showAlbumPicker"
key="albumPicker"
:close-button-contained="false"
:name="t('photos', 'Add to album')"
@close="showAlbumPicker = false">
<AlbumPicker @album-picked="addSelectionToAlbum" />
</NcModal>
Expand Down Expand Up @@ -306,6 +303,12 @@ export default {
}
}

&__heading {
padding: calc(var(--default-grid-baseline) * 4);
margin-bottom: 0px;
padding-bottom: 0px;
}

&__file-list {
padding: 0 64px;

Expand Down

0 comments on commit 61c9498

Please sign in to comment.