mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-30 08:09:15 +01:00
56a0385e94
* maintain nft image aspect ratios and center images in collection view
47 lines
752 B
SCSS
47 lines
752 B
SCSS
.collectibles-items {
|
|
&__collection {
|
|
margin-bottom: 24px;
|
|
|
|
&-accordion-title {
|
|
cursor: pointer;
|
|
}
|
|
|
|
&-image {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
&-image-alt {
|
|
border-radius: 50%;
|
|
width: 32px;
|
|
height: 32px;
|
|
padding: 8px;
|
|
background: $ui-4;
|
|
color: $ui-white;
|
|
text-align: center;
|
|
line-height: 1;
|
|
}
|
|
|
|
&-item-wrapper {
|
|
align-self: center;
|
|
}
|
|
|
|
&-item {
|
|
border-radius: 4px;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
align-self: center;
|
|
}
|
|
|
|
&-item-image {
|
|
border-radius: 4px;
|
|
width: 100%;
|
|
height: 100%;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|