(fix) stake stats responsive

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

@ -36,22 +36,17 @@ $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;
}
.stakes-top-stats-value {
align-items: center;
display: flex;
}
.stakes-top-stats-login {
color: $primary;
margin-right: 8px;
}
.copy-icon {
margin-left: 20px;
path {
@ -60,6 +55,21 @@ $stakes-banned-background: #fff3f7!default;
}
}
.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 {
color: $primary;
margin-right: 8px;
}
.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