Просмотр исходного кода

Merge pull request #301 from smiclea/dropdown-label

Fix duplicated label layout if id is too long
Dorin Paslaru 7 лет назад
Родитель
Сommit
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) => {