File tree 2 files changed +6
-5
lines changed
frontend/src/components/Brokers/Broker/Configs/TableComponents/InputCell
2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ const InputCellViewMode: FC<InputCellViewModeProps> = ({
31
31
) ;
32
32
33
33
return (
34
- < S . ValueWrapper $isDynamic = { isDynamic } >
35
- < S . Value title = { title } > { displayValue } </ S . Value >
34
+ < S . ValueWrapper >
35
+ < S . Value $isDynamic = { isDynamic } title = { title } > { displayValue } </ S . Value >
36
36
< Tooltip
37
37
value = {
38
38
< Button
Original file line number Diff line number Diff line change 1
1
import styled from 'styled-components' ;
2
2
3
- export const ValueWrapper = styled . div < { $isDynamic ?: boolean } > `
3
+ export const ValueWrapper = styled . div `
4
4
display: flex;
5
5
justify-content: space-between;
6
- font-weight: ${ ( { $isDynamic } ) => ( $isDynamic ? 600 : 400 ) } ;
6
+ font-weight: 400;
7
7
8
8
button {
9
9
margin: 0 10px;
10
10
}
11
11
` ;
12
12
13
- export const Value = styled . span `
13
+ export const Value = styled . span < { $isDynamic ?: boolean } > `
14
14
line-height: 24px;
15
15
margin-right: 10px;
16
16
text-overflow: ellipsis;
17
17
max-width: 400px;
18
18
overflow: hidden;
19
19
white-space: nowrap;
20
+ font-weight: ${ ( { $isDynamic } ) => ( $isDynamic ? 600 : 400 ) } ;
20
21
` ;
21
22
22
23
export const ButtonsWrapper = styled . div `
You can’t perform that action at this time.
0 commit comments