Skip to content

Commit

Permalink
feat: LW improvements and fixes (#3193)
Browse files Browse the repository at this point in the history
* feat: LW improvements and fixes

* fix: Package
  • Loading branch information
LautaroPetaccio authored Sep 27, 2024
1 parent 16f79af commit 8a01e00
Show file tree
Hide file tree
Showing 25 changed files with 663 additions and 261 deletions.
47 changes: 40 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"@dcl/crypto": "^3.4.5",
"@dcl/hashing": "^3.0.4",
"@dcl/mini-rpc": "^1.0.7",
"@dcl/schemas": "^13.12.0",
"@dcl/schemas": "^14.0.0",
"@dcl/sdk": "7.5.5",
"@dcl/single-sign-on-client": "^0.1.0",
"@dcl/ui-env": "^1.5.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/CollectionsPage/CollectionsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ export default function CollectionsPage(props: Props) {
<EventBanner />
<div className="filters">
<Container>
{(hasUserOrphanItems || isThirdPartyManager) && (
{(hasUserOrphanItems || isThirdPartyManager || isLinkedWearablesPaymentsEnabled) && (
<div className="action-tabs-container">
<img src={collectionsIcon} className="collections-icon" />
<Tabs isFullscreen>
Expand Down
6 changes: 4 additions & 2 deletions src/components/MappingEditor/MappingEditor.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
}

.mappings.compact {
width: 100%;
min-width: 0;
flex: 1;
}

.mappings.compact > div {
flex-grow: 1;
flex: 1;
}

/* Input margin */
Expand Down Expand Up @@ -94,6 +95,7 @@

.range {
display: flex;
min-width: 0;
}

.range.compact {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.ConfirmCollectionItemsStep .details {
.details {
background-color: rgba(var(--dark-raw), 0.48);
border-radius: 8px;
width: 100%;
Expand All @@ -8,82 +8,82 @@
line-height: 24px;
}

.ConfirmCollectionItemsStep .details .title {
.details .title {
font-size: 18px;
font-weight: 700;
line-height: 24px;
}

.ConfirmCollectionItemsStep .details .subtitle {
.details .subtitle {
font-size: 15px;
font-weight: 600;
line-height: 24px;
color: var(--clear-divider);
margin-bottom: 0px;
}

.ConfirmCollectionItemsStep .details .description {
.details .description {
font-size: 15px;
font-weight: 400;
line-height: 24px;
color: var(--clear-divider);
}

.ConfirmCollectionItemsStep .details .fields .dcl.field {
.details :global(.fields .dcl.field) {
margin-top: 32px;
}

.ConfirmCollectionItemsStep .actions {
.actions {
margin-top: 24px;
width: 100%;
justify-content: space-between !important;
}

.ConfirmCollectionItemsStep .actions .button {
.actions :global(.button) {
width: 180px;
}

.ConfirmCollectionItemsStep .items {
.items {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}

.ConfirmCollectionItemsStep .items tbody {
.items tbody {
display: block;
max-height: 425px;
overflow-y: auto;
}

.ConfirmCollectionItemsStep .items thead,
.ConfirmCollectionItemsStep .items tbody tr {
.items thead,
.items tbody tr {
display: table;
width: 100%;
table-layout: fixed;
}

.ConfirmCollectionItemsStep .items thead.has-scrollbar {
.items thead.hasScrollBar {
width: calc(100% - 10px);
}

.ConfirmCollectionItemsStep .avatarColumn .avatarContainer {
.avatarColumn .avatarContainer {
display: flex;
align-items: center;
}

.ConfirmCollectionItemsStep .avatarColumn .avatarContainer .ItemImage {
.avatarColumn .avatarContainer .itemImage {
height: 48px;
width: 48px;
margin-right: 16px;
}

.ConfirmCollectionItemsStep .avatarColumn .avatarContainer .info {
.avatarColumn .avatarContainer .info {
display: flex;
align-items: center;
}

.ConfirmCollectionItemsStep .avatarColumn .avatarContainer .name {
.avatarColumn .avatarContainer .name {
margin-right: 8px;
font-size: 15px;
white-space: nowrap;
Expand All @@ -92,23 +92,23 @@
max-width: 150px;
}

.ConfirmCollectionItemsStep .avatarColumn .avatarContainer .badge {
.avatarColumn .avatarContainer .badge {
background-color: var(--smart-grey);
}

.ConfirmCollectionItemsStep .avatarColumn .avatarContainer .badge::before {
.avatarColumn .avatarContainer .badge::before {
filter: none;
}

.ConfirmCollectionItemsStep .column.priceColumn .ui.mana {
.priceColumn :global(.ui.mana) {
font-size: 15px;
}

.ui.visible.popup.price-popup {
.price-popup:global(.ui.visible.popup) {
z-index: 4000;
}

.ConfirmCollectionItemsStep .loading-overlay {
.loadingOverlay {
position: absolute;
top: 0px;
left: 0px;
Expand All @@ -125,3 +125,19 @@
align-items: center;
justify-content: center;
}

.categoryBadge {
width: fit-content;
}

.categoryBadge.thirdParty {
height: 32px;
}

.itemNumber {
background-color: #43404a;
border-radius: 8px;
padding: 2px 12px 2px 12px;
width: fit-content;
font-size: 12px;
}
Loading

0 comments on commit 8a01e00

Please sign in to comment.