File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ const element = computed(() => {
5353 </script >
5454
5555<template >
56- <div v-if =" props.separator" class =" separator heading" >
56+ <div v-if =" props.separator" class =" separator heading word-wrap-break " >
5757 <GButton v-if =" collapsible" transparent size =" small" icon-only inline @click =" $emit('click')" >
5858 <FontAwesomeIcon v-if =" collapsed" fixed-width :icon =" faAngleDoubleDown" />
5959 <FontAwesomeIcon v-else fixed-width :icon =" faAngleDoubleUp" />
@@ -75,7 +75,7 @@ const element = computed(() => {
7575 <component
7676 :is =" element"
7777 v-else
78- class =" heading"
78+ class =" heading word-wrap-break "
7979 :class =" [
8080 sizeClass,
8181 props.bold ? 'font-weight-bold' : '',
@@ -96,12 +96,6 @@ const element = computed(() => {
9696<style lang="scss" scoped>
9797@import " scss/theme/blue.scss" ;
9898
99- .heading {
100- overflow-wrap : break-word ;
101- white-space : normal ;
102- word-break : break-word ;
103- }
104-
10599// prettier-ignore
106100h1 , h2 , h3 , h4 , h5 , h6 {
107101 & :not (.truncate ) {
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ 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"
4849 v-b-tooltip.hover.noninteractive
4950 title =" Your email address" >
5051 {{ userEmail }}
Original file line number Diff line number Diff line change 4949 word-wrap : normal ;
5050}
5151
52+ .word-wrap-break {
53+ overflow-wrap : break-word ;
54+ white-space : normal ;
55+ word-break : break-word ;
56+ }
57+
5258// utility class to set white space wrapping to normal
5359.white-space-normal {
5460 white-space : normal ;
You can’t perform that action at this time.
0 commit comments