Ver Fonte

Merge pull request #186 from smiclea/wizard-summary

Improve Wizard Summary 'Options' display
Dorin Paslaru há 8 anos atrás
pai
commit
bc1faf7c6e
1 ficheiros alterados com 9 adições e 1 exclusões
  1. 9 1
      src/components/organisms/WizardSummary/index.jsx

+ 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,