diff --git a/kafka-ui-react-app/src/components/App.styled.ts b/kafka-ui-react-app/src/components/App.styled.ts index 71353f0876..90eade047d 100644 --- a/kafka-ui-react-app/src/components/App.styled.ts +++ b/kafka-ui-react-app/src/components/App.styled.ts @@ -20,9 +20,10 @@ export const Container = styled.main( position: relative; padding-bottom: 30px; z-index: 20; - + max-width: calc(100vw - ${theme.layout.navBarWidth}); @media screen and (max-width: 1023px) { margin-left: initial; + max-width: 100vw; } ` ); diff --git a/kafka-ui-react-app/src/components/Brokers/Broker/Configs/Configs.styled.ts b/kafka-ui-react-app/src/components/Brokers/Broker/Configs/Configs.styled.ts index a49bcf5d7d..03030b1249 100644 --- a/kafka-ui-react-app/src/components/Brokers/Broker/Configs/Configs.styled.ts +++ b/kafka-ui-react-app/src/components/Brokers/Broker/Configs/Configs.styled.ts @@ -12,7 +12,7 @@ export const Value = styled.span` line-height: 24px; margin-right: 10px; text-overflow: ellipsis; - width: 600px; + max-width: 400px; overflow: hidden; white-space: nowrap; `; diff --git a/kafka-ui-react-app/src/components/Brokers/Broker/Configs/InputCell.tsx b/kafka-ui-react-app/src/components/Brokers/Broker/Configs/InputCell.tsx index ceeff2bd59..422abbbac9 100644 --- a/kafka-ui-react-app/src/components/Brokers/Broker/Configs/InputCell.tsx +++ b/kafka-ui-react-app/src/components/Brokers/Broker/Configs/InputCell.tsx @@ -70,7 +70,7 @@ const InputCell: React.FC = ({ row, getValue, onUpdate }) => { : { fontWeight: 400 } } > - {initialValue} + {initialValue}