mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 19:06:26 +00:00
parent
81c5a3d9f5
commit
8b60396da8
@ -169,6 +169,8 @@ class BookPage extends Component {
|
||||
<ListItemAvatar>
|
||||
<RobotAvatar
|
||||
nickname={params.row.maker_nick}
|
||||
style={{ width: 45, height: 45 }}
|
||||
smooth={true}
|
||||
orderType={params.row.type}
|
||||
statusColor={this.statusBadgeColor(params.row.maker_status)}
|
||||
tooltip={t(params.row.maker_status)}
|
||||
@ -315,6 +317,7 @@ class BookPage extends Component {
|
||||
<RobotAvatar
|
||||
nickname={params.row.maker_nick}
|
||||
smooth={true}
|
||||
style={{ width: 45, height: 45 }}
|
||||
orderType={params.row.type}
|
||||
statusColor={this.statusBadgeColor(params.row.maker_status)}
|
||||
tooltip={t(params.row.maker_status)}
|
||||
|
@ -45,17 +45,18 @@ const RobotAvatar: React.FC<DepthChartProps> = ({
|
||||
const getAvatar = () => {
|
||||
if (smooth) {
|
||||
return (
|
||||
<SmoothImage
|
||||
className={avatarClass}
|
||||
src={avatarSrc}
|
||||
imageStyles={{
|
||||
...style,
|
||||
borderRadius: '50%',
|
||||
transform: 'scaleX(-1)',
|
||||
border: '0.3px solid #555',
|
||||
filter: 'dropShadow(0.5px 0.5px 0.5px #000000)',
|
||||
}}
|
||||
/>
|
||||
<div style={style}>
|
||||
<SmoothImage
|
||||
className={avatarClass}
|
||||
src={avatarSrc}
|
||||
imageStyles={{
|
||||
borderRadius: '50%',
|
||||
transform: 'scaleX(-1)',
|
||||
border: '0.3px solid #555',
|
||||
filter: 'dropShadow(0.5px 0.5px 0.5px #000000)'
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
} else {
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user