Skip to content

Commit 556519d

Browse files
Pytalskjnldsv
authored andcommitted
fix(settings): Align contents of profile picture heading
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 parent 11f0b0f commit 556519d

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

apps/settings/src/components/PersonalInfo/AvatarSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ section {
259259
}
260260
.avatar {
261261
&__container {
262-
margin: 0 auto;
262+
margin: calc(var(--default-grid-baseline) * 2) auto 0 auto;
263263
display: flex;
264264
flex-direction: column;
265265
justify-content: center;

apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<template>
77
<div class="headerbar-label" :class="{ 'setting-property': isSettingProperty, 'profile-property': isProfileProperty }">
8-
<h3 v-if="isHeading">
8+
<h3 v-if="isHeading" class="headerbar__heading">
99
<!-- Already translated as required by prop validator -->
1010
{{ readable }}
1111
</h3>
@@ -138,6 +138,10 @@ export default {
138138
}
139139
}
140140
141+
.headerbar__heading {
142+
margin: 0;
143+
}
144+
141145
.federation-control {
142146
margin: 0;
143147
}

dist/settings-vue-settings-personal-info.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-personal-info.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)