Просмотр исходного кода

Break storage name into lines if it is too long

Applies `word-break: break-word;` CSS style to the storage name, thus
breaking its name into multiple lines if it doesn't fit into one.
Sergiu Miclea 6 лет назад
Родитель
Сommit
7ee5f89d19
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/components/organisms/WizardStorage/WizardStorage.jsx

+ 1 - 0
src/components/organisms/WizardStorage/WizardStorage.jsx

@@ -83,6 +83,7 @@ const StorageTitle = styled.div`
 `
 const StorageName = styled.div`
   font-size: 16px;
+  word-break: break-word;
 `
 const StorageSubtitle = styled.div`
   font-size: 12px;