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

make text in Text nodes selectable (#3453)

Feroze Mohideen 2 лет назад
Родитель
Сommit
6b9559d768
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      dashboard/src/components/porter/Text.tsx

+ 1 - 0
dashboard/src/components/porter/Text.tsx

@@ -51,5 +51,6 @@ const StyledText = styled.div<{
   font-size: ${props => props.size || 13}px;
   display: inline;
   align-items: center;
+  user-select: text;
   ${props => props.additionalStyles ? props.additionalStyles : ""}
 `;