Skip to content
This repository was archived by the owner on Feb 10, 2022. It is now read-only.

Commit f772eff

Browse files
committed
Prevent word break in headerInfo
1 parent b6f974d commit f772eff

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

lib/css/styles.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,12 +1143,12 @@ const styles = {
11431143

11441144
headerUserId: {
11451145
display: 'none',
1146-
wordBreak: 'break-all',
1146+
whiteSpace: 'nowrap',
11471147
color: colors.purple50
11481148
},
11491149

11501150
headerNickname: {
1151-
wordBreak: 'break-all',
1151+
whiteSpace: 'nowrap',
11521152
color: colors.white
11531153
},
11541154

@@ -1163,9 +1163,6 @@ const styles = {
11631163
'& $avatar': {
11641164
marginLeft: '0px'
11651165
},
1166-
'& $headerInfo': {
1167-
width: '164px'
1168-
},
11691166
'& $headerNickname': {
11701167
color: colors.navy900
11711168
},
@@ -1183,7 +1180,7 @@ const styles = {
11831180
paddingBottom: '8px',
11841181
paddingLeft: '0px',
11851182
paddingRight: '0px',
1186-
width: '248px',
1183+
minWidth: '248px',
11871184
borderRadius: '4px',
11881185
boxShadow: '0 3px 5px -3px rgba(33, 34, 66, 0.04), 0 3px 14px 2px rgba(33, 34, 66, 0.08), 0 8px 10px 1px rgba(33, 34, 66, 0.12)',
11891186
backgroundColor: colors.white,

0 commit comments

Comments
 (0)