From c7007ae54c4030bd55054145c81fe39994a38d8d Mon Sep 17 00:00:00 2001 From: "H@di" Date: Sat, 21 Sep 2024 16:53:38 +0330 Subject: [PATCH] Make tooltip font regular for edit button of broker configs (#556) --- .../TableComponents/InputCell/InputCellViewMode.tsx | 4 ++-- .../Broker/Configs/TableComponents/InputCell/styled.ts | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/Brokers/Broker/Configs/TableComponents/InputCell/InputCellViewMode.tsx b/frontend/src/components/Brokers/Broker/Configs/TableComponents/InputCell/InputCellViewMode.tsx index 1ddfa2b03..a4c776b83 100644 --- a/frontend/src/components/Brokers/Broker/Configs/TableComponents/InputCell/InputCellViewMode.tsx +++ b/frontend/src/components/Brokers/Broker/Configs/TableComponents/InputCell/InputCellViewMode.tsx @@ -31,8 +31,8 @@ const InputCellViewMode: FC = ({ ); return ( - - {displayValue} + + {displayValue} ` +export const ValueWrapper = styled.div` display: flex; justify-content: space-between; - font-weight: ${({ $isDynamic }) => ($isDynamic ? 600 : 400)}; + font-weight: 400; button { margin: 0 10px; } `; -export const Value = styled.span` +export const Value = styled.span<{ $isDynamic?: boolean }>` line-height: 24px; margin-right: 10px; text-overflow: ellipsis; max-width: 400px; overflow: hidden; white-space: nowrap; + font-weight: ${({ $isDynamic }) => ($isDynamic ? 600 : 400)}; `; export const ButtonsWrapper = styled.div`