Skip to content

Commit a6fc4aa

Browse files
committed
fix(files_sharing): public user menu semantic
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent df88920 commit a6fc4aa

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

core/src/views/PublicPageUserMenu.vue

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
is-guest
1616
:user="displayName || '?'" />
1717
</template>
18-
<ul class="public-page-user-menu__list">
19-
<!-- Privacy notice -->
20-
<NcNoteCard class="public-page-user-menu__list-note"
21-
:text="privacyNotice"
22-
type="info" />
2318

19+
<!-- Privacy notice -->
20+
<NcNoteCard class="public-page-user-menu__list-note"
21+
:text="privacyNotice"
22+
type="info" />
23+
24+
<ul class="public-page-user-menu__list">
2425
<!-- Nickname dialog -->
2526
<AccountMenuEntry id="set-nickname"
2627
:name="!displayName ? t('core', 'Set public name') : t('core', 'Change public name')"
@@ -104,7 +105,9 @@ export default defineComponent({
104105

105106
<style scoped lang="scss">
106107
.public-page-user-menu {
107-
box-sizing: border-box;
108+
&, * {
109+
box-sizing: border-box;
110+
}
108111
109112
// Ensure we do not waste space, as the header menu sets a default width of 350px
110113
:deep(.header-menu__content) {
@@ -123,7 +126,7 @@ export default defineComponent({
123126
display: inline-flex;
124127
flex-direction: column;
125128
padding-block: var(--default-grid-baseline) 0;
126-
padding-inline: 0 var(--default-grid-baseline);
129+
width: 100%;
127130
128131
> :deep(li) {
129132
box-sizing: border-box;

0 commit comments

Comments
 (0)