Skip to content

Commit

Permalink
chore: change for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaZhem committed Aug 21, 2024
1 parent c99a1ec commit 69e0864
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@

.list {
display: flex;
max-width: initial;
justify-content: space-around;
padding: 1rem;
gap: 0.5rem;
overflow: visible;
max-width: 100%;
}

.info {
display: flex;
overflow: hidden;
flex-direction: column;
gap: 0.5rem;
}
Expand Down
56 changes: 19 additions & 37 deletions apps/taiga-lumbermill/src/dashboards/crypto/crypto.component.less
Original file line number Diff line number Diff line change
@@ -1,47 +1,15 @@
@import '@taiga-ui/core/styles/taiga-ui-local.less';

.grow {
width: 100%;
}

.row {
position: relative;
display: grid;
flex: 0 0 auto;
grid-template-columns: 4fr 6fr 4fr;
gap: 1rem;
}

@media (max-width: 56.25rem) {
.row {
display: flex;
flex: 1;
flex-wrap: wrap;
}

.grow {
height: max-content;
}
}

@media (max-width: 35.625rem) {
.grow {
width: 100%;
}
}

.column {
display: flex;
gap: 0.625rem;
padding-top: 1.25rem;
flex-direction: column;
}

.layout {
display: flex;
width: 100%;
gap: 1rem;
margin-top: 1rem;

@media (max-width: 68rem) {
display: flex;
flex-direction: column;
}
}

.minter {
Expand All @@ -55,6 +23,10 @@
flex-grow: 1;
width: 350px;
flex-shrink: 0;

@media (max-width: 68rem) {
width: 100%;
}
}

.right {
Expand All @@ -70,10 +42,20 @@
height: 100%;
grid-template-columns: 2fr 4fr;
flex-grow: 1;

@media (max-width: 68rem) {
display: flex;
flex-direction: column;
}
}

.right-bottom {
display: grid;
gap: 1rem;
grid-template-columns: 4fr 3fr;

@media (max-width: 80rem) {
display: flex;
flex-direction: column;
}
}

0 comments on commit 69e0864

Please sign in to comment.