Procházet zdrojové kódy

Merge pull request #186 from smiclea/wizard-summary

Improve Wizard Summary 'Options' display
Dorin Paslaru před 8 roky
rodič
revize
bc1faf7c6e

+ 9 - 1
src/components/organisms/WizardSummary/index.jsx

@@ -118,8 +118,16 @@ const Option = styled.div`
 const OptionLabel = styled.div`
   color: ${Palette.grayscale[4]};
   flex-grow: 1;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+`
+const OptionValue = styled.div`
+  text-align: right;
+  max-width: 50%;
+  text-overflow: ellipsis;
+  overflow: hidden;
 `
-const OptionValue = styled.div``
 
 type Props = {
   data: WizardData,