Преглед изворни кода

Merge pull request #301 from smiclea/dropdown-label

Fix duplicated label layout if id is too long
Dorin Paslaru пре 7 година
родитељ
комит
06405e3338
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/components/molecules/Dropdown/Dropdown.jsx

+ 1 - 0
src/components/molecules/Dropdown/Dropdown.jsx

@@ -144,6 +144,7 @@ const Separator = styled.div`
 `
 const Labels = styled.div`
   word-break: break-word;
+  max-width: 100%;
 `
 
 export const updateTipStyle = (listItemsRef: HTMLElement, tipRef: HTMLElement, firstItemRef: HTMLElement) => {