Skip to content

Commit 044c123

Browse files
committed
Fix lint, declare tooltip before class
1 parent cbc4aae commit 044c123

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

client/src/components/User/UserDetailsElement.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ const getStoragePercentageClass = (percentage: number) => {
4545
<FontAwesomeIcon :icon="faAt" class="user-details-icon p-2" />
4646
<span
4747
id="user-preferences-current-email"
48-
class="word-wrap-break"
4948
v-b-tooltip.hover.noninteractive
49+
class="word-wrap-break"
5050
title="Your email address">
5151
{{ userEmail }}
5252
</span>

client/src/style/scss/ui.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,18 @@
4444
overflow-y: auto !important;
4545
}
4646

47-
// utility class to set word wrap to normal
48-
.word-wrap-normal {
49-
word-wrap: normal;
50-
}
51-
47+
// utility class to wrap words or break if necessary
5248
.word-wrap-break {
5349
overflow-wrap: break-word;
5450
white-space: normal;
5551
word-break: break-word;
5652
}
5753

54+
// utility class to set word wrap to normal
55+
.word-wrap-normal {
56+
word-wrap: normal;
57+
}
58+
5859
// utility class to set white space wrapping to normal
5960
.white-space-normal {
6061
white-space: normal;

0 commit comments

Comments
 (0)