Skip to content

Commit

Permalink
Fix layout of engrams
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis committed Nov 16, 2024
1 parent 9fc1630 commit d4d1ca4
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/app/inventory-page/Stores.scss
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@

// Engrams. D1 uses this same bucket hash for "Missions"
.destiny2 .bucket-375726501 & {
--engram-size: calc(var(--character-column-width) / 10);
padding-bottom: 8px;

.empty-engram {
Expand All @@ -94,7 +93,7 @@

.sub-bucket {
min-height: 0;
grid-template-columns: repeat(auto-fill, var(--engram-size));
grid-template-columns: repeat(10, 1fr);
gap: 0;
padding: 4px 0 0 0;

Expand All @@ -105,11 +104,8 @@

.item-drag-container,
.empty-engram {
--item-size: var(--engram-size);

@include phone-portrait {
--item-size: calc((100vw - (2 * var(--inventory-column-padding))) / 10);
}
--item-size: 100%;
aspect-ratio: 1 / 1;
}
}

Expand Down

0 comments on commit d4d1ca4

Please sign in to comment.