Skip to content

Commit 384d1a0

Browse files
committed
Avoid unnecessary custom styles which break theming
1 parent d48a67e commit 384d1a0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

client/src/components/User/UserDetailsElement.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ const getStoragePercentageClass = (percentage: number) => {
3535
<div class="user-details d-flex flex-gapx-1 flex-gapy-1 w-100 justify-content-between">
3636
<div class="d-flex align-items-center flex-gapx-1">
3737
<div class="d-flex align-items-center flex-gapx-1 mr-5">
38-
<FontAwesomeIcon :icon="faUser" class="user-details-icon" />
38+
<FontAwesomeIcon :icon="faUser" class="user-details-icon p-2" />
3939
<span v-b-tooltip.hover.noninteractive title="Your username (public name)">
4040
{{ userUsername }}
4141
</span>
4242
</div>
4343

4444
<div class="d-flex align-items-center flex-gapx-1">
45-
<FontAwesomeIcon :icon="faAt" class="user-details-icon" />
45+
<FontAwesomeIcon :icon="faAt" class="user-details-icon p-2" />
4646
<span
4747
id="user-preferences-current-email"
4848
v-b-tooltip.hover.noninteractive
@@ -95,10 +95,10 @@ const getStoragePercentageClass = (percentage: number) => {
9595
9696
.user-details-icon {
9797
color: $brand-primary;
98-
font-size: 1rem;
99-
border: 1px solid $brand-primary;
100-
border-radius: 0.75rem;
101-
padding: 0.5rem;
98+
font-size: $h5-font-size;
99+
border: $border-default;
100+
border-color: $brand-primary;
101+
border-radius: $border-radius-extralarge;
102102
}
103103
}
104104
}

0 commit comments

Comments
 (0)