Skip to content

Commit a7b0ab2

Browse files
committed
fix(settings): Align contents of profile picture heading
Signed-off-by: Christopher Ng <chrng8@gmail.com>
1 parent c7fb0ed commit a7b0ab2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
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
}

0 commit comments

Comments
 (0)