Browse Source

Merge pull request #186 from smiclea/wizard-summary

Improve Wizard Summary 'Options' display
Dorin Paslaru 8 năm trước cách đây
mục cha
commit
bc1faf7c6e
1 tập tin đã thay đổi với 9 bổ sung1 xóa
  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,