mirror of
https://github.com/nextcloud/server.git
synced 2026-03-29 22:03:27 -04:00
fix(files_sharing): public user menu semantic
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
df88920680
commit
a6fc4aa9fd
1 changed files with 10 additions and 7 deletions
|
|
@ -15,12 +15,13 @@
|
|||
is-guest
|
||||
:user="displayName || '?'" />
|
||||
</template>
|
||||
<ul class="public-page-user-menu__list">
|
||||
<!-- Privacy notice -->
|
||||
<NcNoteCard class="public-page-user-menu__list-note"
|
||||
:text="privacyNotice"
|
||||
type="info" />
|
||||
|
||||
<!-- Privacy notice -->
|
||||
<NcNoteCard class="public-page-user-menu__list-note"
|
||||
:text="privacyNotice"
|
||||
type="info" />
|
||||
|
||||
<ul class="public-page-user-menu__list">
|
||||
<!-- Nickname dialog -->
|
||||
<AccountMenuEntry id="set-nickname"
|
||||
:name="!displayName ? t('core', 'Set public name') : t('core', 'Change public name')"
|
||||
|
|
@ -104,7 +105,9 @@ export default defineComponent({
|
|||
|
||||
<style scoped lang="scss">
|
||||
.public-page-user-menu {
|
||||
box-sizing: border-box;
|
||||
&, * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
// Ensure we do not waste space, as the header menu sets a default width of 350px
|
||||
:deep(.header-menu__content) {
|
||||
|
|
@ -123,7 +126,7 @@ export default defineComponent({
|
|||
display: inline-flex;
|
||||
flex-direction: column;
|
||||
padding-block: var(--default-grid-baseline) 0;
|
||||
padding-inline: 0 var(--default-grid-baseline);
|
||||
width: 100%;
|
||||
|
||||
> :deep(li) {
|
||||
box-sizing: border-box;
|
||||
|
|
|
|||
Loading…
Reference in a new issue