Fix spacing
* Header menu width * Width of weapon grid * PartyDetails button
This commit is contained in:
parent
95ee4bd1c7
commit
e6019ecf86
4 changed files with 13 additions and 10 deletions
|
|
@ -11,8 +11,7 @@
|
||||||
z-index: 15;
|
z-index: 15;
|
||||||
|
|
||||||
@include breakpoint(phone) {
|
@include breakpoint(phone) {
|
||||||
left: $unit-2x;
|
min-width: 50vw;
|
||||||
right: $unit-2x;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
.DetailsWrapper {
|
.DetailsWrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
gap: $unit-2x;
|
||||||
margin: $unit-4x auto 0 auto;
|
margin: $unit-4x auto 0 auto;
|
||||||
max-width: $grid-width;
|
max-width: $grid-width;
|
||||||
|
|
||||||
|
|
@ -293,13 +294,12 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
gap: $unit;
|
gap: $unit;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: $unit * 2;
|
|
||||||
max-width: $unit * 94;
|
max-width: $unit * 94;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
@include breakpoint(phone) {
|
@include breakpoint(phone) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: $unit-2x;
|
gap: $unit;
|
||||||
padding: 0 $unit;
|
padding: 0 $unit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -743,17 +743,17 @@ const PartyDetails = (props: Props) => {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="Right">
|
|
||||||
{party.editable ? (
|
{party.editable ? (
|
||||||
|
<div className="Right">
|
||||||
<Button
|
<Button
|
||||||
leftAccessoryIcon={<EditIcon />}
|
leftAccessoryIcon={<EditIcon />}
|
||||||
text={t('buttons.show_info')}
|
text={t('buttons.show_info')}
|
||||||
onClick={toggleDetails}
|
onClick={toggleDetails}
|
||||||
/>
|
/>
|
||||||
) : (
|
|
||||||
<div />
|
|
||||||
)}
|
|
||||||
</div>
|
</div>
|
||||||
|
) : (
|
||||||
|
''
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
{readOnly}
|
{readOnly}
|
||||||
{editable}
|
{editable}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,10 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
|
@include breakpoint(phone) {
|
||||||
|
margin: 0 2px;
|
||||||
|
}
|
||||||
|
|
||||||
#MainGrid {
|
#MainGrid {
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: $unit-3x;
|
gap: $unit-3x;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue