Skip to content

Commit

Permalink
Merge pull request #2175 from nextcloud/enh/noid/show-inline
Browse files Browse the repository at this point in the history
show title and close of modal inline
  • Loading branch information
artonge authored Dec 6, 2023
2 parents afaffd8 + 8f1196e commit 334f080
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 13 deletions.
4 changes: 2 additions & 2 deletions js/photos-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-main.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/photos-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/photos-public.js.map

Large diffs are not rendered by default.

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 334f080

Please sign in to comment.