(fix) stake stats responsive

pull/1704/head
Gabriel Rodriguez Alsina 6 years ago
parent fbc566458d
commit 3013c8f0b0
  1. 32
      apps/block_scout_web/assets/css/components/_stakes.scss

@ -36,15 +36,33 @@ $stakes-banned-background: #fff3f7!default;
grid-row-start: 1;
}
}
@include media-breakpoint-down(md) {
grid-column-start: auto !important;
grid-row-start: auto !important;
}
}
@include media-breakpoint-down(sm) {
grid-template-columns: 1fr;
}
.copy-icon {
margin-left: 20px;
path {
fill: $stakes-dashboard-copy-icon-color;
}
}
}
.stakes-top-stats-value {
align-items: center;
display: flex;
.stakes-top-stats-item-address & {
white-space: normal;
word-break: break-all;
}
}
.stakes-top-stats-login {
@ -52,14 +70,6 @@ $stakes-banned-background: #fff3f7!default;
margin-right: 8px;
}
.copy-icon {
margin-left: 20px;
path {
fill: $stakes-dashboard-copy-icon-color;
}
}
}
.stakes-address-container {
display: flex;
cursor: pointer;
@ -120,4 +130,10 @@ $stakes-banned-background: #fff3f7!default;
grid-row-start: 2;
justify-self: end;
}
@include media-breakpoint-down(md) {
grid-column-start: auto !important;
grid-row-start: auto !important;
justify-self: center;
}
}
Loading…
Cancel
Save