Explorar o código

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 %!s(int64=6) %!d(string=hai) anos
pai
achega
7ee5f89d19
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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;