Explorar o código

Merge pull request #186 from smiclea/wizard-summary

Improve Wizard Summary 'Options' display
Dorin Paslaru %!s(int64=8) %!d(string=hai) anos
pai
achega
bc1faf7c6e
Modificáronse 1 ficheiros con 9 adicións e 1 borrados
  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,