Skip to content

Commit

Permalink
fix: dashboard shortcuts on tablet view (deriv-com#15912)
Browse files Browse the repository at this point in the history
* fix: dashboard shortcuts on tablet view

* fix: your bots list scroll
  • Loading branch information
farabi-deriv authored and hirad-deriv committed Jul 2, 2024
1 parent a8c2dde commit 5cb0f2e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 6 additions & 3 deletions packages/bot-web-ui/src/pages/dashboard/dashboard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,11 @@
@include mobile-or-tablet-screen {
display: flex;
flex-flow: unset;
justify-content: space-around;
padding: 2.4rem 0 1.6rem;
}
@include mobile-screen {
justify-content: space-around;
}
}
}

Expand Down Expand Up @@ -365,8 +367,9 @@
}

&--minimized {
width: 6.4rem;

@include mobile-screen {
width: 6.4rem;
}
& .dc-text {
width: 8rem;
text-align: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,8 +368,12 @@
}

&__table {
height: calc(100vh - 46rem);
height: calc(100vh - 57rem);
overflow: auto;

@include mobile-screen {
height: calc(100vh - 46rem);
}
}

&__title {
Expand Down

0 comments on commit 5cb0f2e

Please sign in to comment.