Преглед изворни кода

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 година
родитељ
комит
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`
 const StorageName = styled.div`
   font-size: 16px;
   font-size: 16px;
+  word-break: break-word;
 `
 `
 const StorageSubtitle = styled.div`
 const StorageSubtitle = styled.div`
   font-size: 12px;
   font-size: 12px;