mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #43897 from nextcloud/fix/move_out_profile_picture_federation-action_from_the_heading_
fix(files): fix html structure on the profile page
This commit is contained in:
commit
4a75fb0e96
4 changed files with 8 additions and 10 deletions
|
|
@ -22,9 +22,6 @@
|
|||
|
||||
<template>
|
||||
<section id="vue-avatar-section">
|
||||
<h3 class="hidden-visually">
|
||||
{{ t('settings', 'Your profile information') }}
|
||||
</h3>
|
||||
<HeaderBar :is-heading="true"
|
||||
:readable="avatar.readable"
|
||||
:scope.sync="avatar.scope" />
|
||||
|
|
@ -275,6 +272,7 @@ export default {
|
|||
<style lang="scss" scoped>
|
||||
section {
|
||||
grid-row: 1/3;
|
||||
padding: 10px 10px;
|
||||
}
|
||||
.avatar {
|
||||
&__container {
|
||||
|
|
|
|||
|
|
@ -21,11 +21,11 @@
|
|||
-->
|
||||
|
||||
<template>
|
||||
<component :is="isHeading ? `h3` : `div`" class="headerbar-label" :class="{ 'setting-property': isSettingProperty, 'profile-property': isProfileProperty }">
|
||||
<span v-if="isHeading">
|
||||
<div class="headerbar-label" :class="{ 'setting-property': isSettingProperty, 'profile-property': isProfileProperty }">
|
||||
<h3 v-if="isHeading">
|
||||
<!-- Already translated as required by prop validator -->
|
||||
{{ readable }}
|
||||
</span>
|
||||
</h3>
|
||||
<label v-else :for="inputId">
|
||||
<!-- Already translated as required by prop validator -->
|
||||
{{ readable }}
|
||||
|
|
@ -49,7 +49,7 @@
|
|||
{{ t('settings', 'Add') }}
|
||||
</NcButton>
|
||||
</template>
|
||||
</component>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
|||
4
dist/settings-vue-settings-personal-info.js
vendored
4
dist/settings-vue-settings-personal-info.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue