Merge pull request #47370 from nextcloud/fix/loading-icon

fix(files): Move loading icon before grid toggle
pull/47413/head
Ferdinand Thiessen 2024-08-21 14:37:47 +07:00 committed by GitHub
commit 974cda636f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

@ -48,6 +48,9 @@
</template>
</BreadCrumbs>
<!-- Secondary loading indicator -->
<NcLoadingIcon v-if="isRefreshing" class="files-list__refresh-icon" />
<NcButton v-if="filesListWidth >= 512 && enableGridView"
:aria-label="gridViewButtonLabel"
:title="gridViewButtonLabel"
@ -59,9 +62,6 @@
<ViewGridIcon v-else />
</template>
</NcButton>
<!-- Secondary loading indicator -->
<NcLoadingIcon v-if="isRefreshing" class="files-list__refresh-icon" />
</div>
<!-- Drag and drop notice -->
@ -703,9 +703,9 @@ export default defineComponent({
}
&__refresh-icon {
flex: 0 0 44px;
width: 44px;
height: 44px;
flex: 0 0 var(--default-clickable-area);
width: var(--default-clickable-area);
height: var(--default-clickable-area);
}
&__loading-icon {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long