mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 23:57:55 -05:00
transfer ownership selection step uses its own grid
This commit is contained in:
parent
1e99722801
commit
d4253bdd2e
2 changed files with 17 additions and 4 deletions
|
@ -1,4 +1,5 @@
|
|||
@import "../../../colors";
|
||||
@import "../../../frameless";
|
||||
|
||||
.transfer-ownership-modal {
|
||||
.transfer-ownership-title {
|
||||
|
@ -68,6 +69,16 @@
|
|||
min-width: 5rem;
|
||||
}
|
||||
|
||||
.transfer-ownership-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0,1fr));
|
||||
@media #{$intermediate-and-smaller} {
|
||||
& { grid-template-columns: repeat(2, minmax(0,1fr)); }
|
||||
}
|
||||
column-gap: 20px;
|
||||
row-gap: 20px;
|
||||
}
|
||||
|
||||
.transfer-ownership-tile-selected {
|
||||
background: #0EBD8C;
|
||||
}
|
||||
|
|
|
@ -29,10 +29,12 @@ const TransferOwnershipSelection = ({
|
|||
<ModalInnerContent
|
||||
className="inner"
|
||||
>
|
||||
<h3>
|
||||
<FormattedMessage id="studio.transferOwnership.whichManager" />
|
||||
</h3>
|
||||
<div className="studio-members-grid">
|
||||
<div>
|
||||
<h3>
|
||||
<FormattedMessage id="studio.transferOwnership.whichManager" />
|
||||
</h3>
|
||||
</div>
|
||||
<div className="transfer-ownership-grid">
|
||||
{items.map(item =>
|
||||
userId !== item.id &&
|
||||
(<TransferOwnershipTile
|
||||
|
|
Loading…
Reference in a new issue