mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-30 08:50:51 +01:00
Fix GroupSharedTabColorsView border
This commit is contained in:
parent
3777bead71
commit
aadb9bd584
@ -23,16 +23,6 @@
|
|||||||
.group-color-swatch {
|
.group-color-swatch {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
border-top-left-radius: $border-radius;
|
|
||||||
border-bottom-left-radius: $border-radius;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:last-child {
|
|
||||||
border-top-right-radius: $border-radius;
|
|
||||||
border-bottom-right-radius: $border-radius;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@ export const GroupSharedTabColorsView: FC<{}> = props =>
|
|||||||
<div className="shared-tab-colors d-flex flex-column gap-2">
|
<div className="shared-tab-colors d-flex flex-column gap-2">
|
||||||
<div className="d-flex flex-column align-items-center">
|
<div className="d-flex flex-column align-items-center">
|
||||||
<div className="fw-bold">{ LocalizeText('group.edit.color.guild.color') }</div>
|
<div className="fw-bold">{ LocalizeText('group.edit.color.guild.color') }</div>
|
||||||
{ groupColors && <div className="d-flex">
|
{ groupColors && <div className="d-flex rounded border overflow-hidden">
|
||||||
<div className="group-color-swatch" style={{ backgroundColor: '#' + getGroupColor(0) }}></div>
|
<div className="group-color-swatch" style={{ backgroundColor: '#' + getGroupColor(0) }}></div>
|
||||||
<div className="group-color-swatch" style={{ backgroundColor: '#' + getGroupColor(1) }}></div>
|
<div className="group-color-swatch" style={{ backgroundColor: '#' + getGroupColor(1) }}></div>
|
||||||
</div> }
|
</div> }
|
||||||
|
Loading…
Reference in New Issue
Block a user