Browse Source

fix(search): set word-break: break-word to mimic textarea (#27115)

Evan Purkhiser 3 years ago
parent
commit
4f3267456c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      static/app/components/smartSearchBar/index.tsx

+ 1 - 0
static/app/components/smartSearchBar/index.tsx

@@ -1186,6 +1186,7 @@ const Highlight = styled('div')`
   bottom: 0;
   bottom: 0;
   user-select: none;
   user-select: none;
   white-space: pre-wrap;
   white-space: pre-wrap;
+  word-break: break-word;
   line-height: 25px;
   line-height: 25px;
   font-size: ${p => p.theme.fontSizeSmall};
   font-size: ${p => p.theme.fontSizeSmall};
   font-family: ${p => p.theme.text.familyMono};
   font-family: ${p => p.theme.text.familyMono};