Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(files): fix html structure on pre profile page
Signed-off-by: julia.kirschenheuter <[email protected]>
  • Loading branch information
JuliaKirschenheuter authored and Pytal committed Mar 4, 2024
commit f5f957336f24c976d14aef527021e59e383662ed
4 changes: 1 addition & 3 deletions apps/settings/src/components/PersonalInfo/AvatarSection.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down Expand Up @@ -275,6 +272,7 @@ export default {
<style lang="scss" scoped>
section {
grid-row: 1/3;
padding: 10px 10px;
}
.avatar {
&__container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -49,7 +49,7 @@
{{ t('settings', 'Add') }}
</NcButton>
</template>
</component>
</div>
</template>

<script>
Expand Down