Skip to content

Commit

Permalink
Move PrestakingGraph to the right on mobile to not cut off the 1st mark
Browse files Browse the repository at this point in the history
  • Loading branch information
sisou committed May 27, 2024
1 parent ebaff11 commit d716995
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/components/prestaking/PrestakingGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,18 @@ export default defineComponent({
// Ensure bars are right-aligned (overflowing on the left)
margin-right: -0.125rem;
margin-left: -999rem;
@media (max-width: 430px) {
margin-right: -1.75rem;
}
@media (max-width: 400px) {
margin-right: -5.75rem;
}
@media (max-width: 370px) {
margin-right: -8.5rem;
}
}
.bar {
Expand Down Expand Up @@ -357,5 +369,9 @@ export default defineComponent({
width: 1.25rem;
height: 1.25rem;
}
@media (max-width: 400px) {
display: none;
}
}
</style>

0 comments on commit d716995

Please sign in to comment.