Przeglądaj źródła

Merge pull request #301 from smiclea/dropdown-label

Fix duplicated label layout if id is too long
Dorin Paslaru 7 lat temu
rodzic
commit
06405e3338
1 zmienionych plików z 1 dodań i 0 usunięć
  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) => {