Make hashrate chart more responsive

This commit is contained in:
nymkappa
2022-02-21 14:02:41 +09:00
parent 53a8d5b246
commit ac118141ce
3 changed files with 51 additions and 8 deletions

View File

@@ -8,3 +8,37 @@
text-align: center;
padding-bottom: 3px;
}
.full-container {
width: 100%;
height: calc(100% - 100px);
@media (max-width: 992px) {
height: calc(100% - 140px);
};
@media (max-width: 576px) {
height: calc(100% - 180px);
};
}
.chart {
width: 100%;
height: 100%;
padding: 1.25rem;
}
.formRadioGroup {
margin-top: 6px;
display: flex;
flex-direction: column;
@media (min-width: 830px) {
flex-direction: row;
float: right;
margin-top: 0px;
}
.btn-sm {
font-size: 9px;
@media (min-width: 830px) {
font-size: 14px;
}
}
}