Fix GroupSharedTabColorsView border

This commit is contained in:
MyNameIsBatman 2021-09-06 04:40:39 -03:00
parent 3777bead71
commit aadb9bd584
2 changed files with 1 additions and 11 deletions

View File

@ -23,16 +23,6 @@
.group-color-swatch {
width: 30px;
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;
}
}
}

View File

@ -53,7 +53,7 @@ export const GroupSharedTabColorsView: FC<{}> = props =>
<div className="shared-tab-colors d-flex flex-column gap-2">
<div className="d-flex flex-column align-items-center">
<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(1) }}></div>
</div> }