Fix height on graphs pages with footer

This commit is contained in:
softsimon 2023-05-05 23:38:35 +04:00
parent a7dff0effe
commit 3425f2e390
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
8 changed files with 77 additions and 43 deletions

View File

@ -4,6 +4,9 @@
@media (min-width: 465px) { @media (min-width: 465px) {
font-size: 20px; font-size: 20px;
} }
@media (min-width: 992px) {
height: 40px;
}
} }
.main-title { .main-title {
@ -18,17 +21,19 @@
} }
.full-container { .full-container {
display: flex;
flex-direction: column;
padding: 0px 15px; padding: 0px 15px;
width: 100%; width: 100%;
min-height: 500px; height: calc(100vh - 250px);
height: calc(100% - 150px); @media (min-width: 992px) {
@media (max-width: 992px) { height: calc(100vh - 150px);
padding-bottom: 100px; }
};
} }
.chart { .chart {
width: 100%; display: flex;
flex: 1;
height: 100%; height: 100%;
padding-bottom: 20px; padding-bottom: 20px;
padding-right: 10px; padding-right: 10px;

View File

@ -4,6 +4,9 @@
@media (min-width: 465px) { @media (min-width: 465px) {
font-size: 20px; font-size: 20px;
} }
@media (min-width: 992px) {
height: 40px;
}
} }
.main-title { .main-title {
@ -18,18 +21,20 @@
} }
.full-container { .full-container {
display: flex;
flex-direction: column;
padding: 0px 15px; padding: 0px 15px;
width: 100%; width: 100%;
min-height: 500px; height: calc(100vh - 250px);
height: calc(100% - 150px); @media (min-width: 992px) {
@media (max-width: 992px) { height: calc(100vh - 150px);
padding-bottom: 100px; }
};
} }
.chart { .chart {
display: flex;
flex: 1;
width: 100%; width: 100%;
height: 100%;
padding-bottom: 20px; padding-bottom: 20px;
padding-right: 10px; padding-right: 10px;
@media (max-width: 992px) { @media (max-width: 992px) {

View File

@ -4,6 +4,9 @@
@media (min-width: 465px) { @media (min-width: 465px) {
font-size: 20px; font-size: 20px;
} }
@media (min-width: 992px) {
height: 40px;
}
} }
.main-title { .main-title {
@ -18,17 +21,19 @@
} }
.full-container { .full-container {
display: flex;
flex-direction: column;
padding: 0px 15px; padding: 0px 15px;
width: 100%; width: 100%;
min-height: 500px; height: calc(100vh - 250px);
height: calc(100% - 150px); @media (min-width: 992px) {
@media (max-width: 992px) { height: calc(100vh - 150px);
padding-bottom: 100px; }
};
} }
.chart { .chart {
width: 100%; display: flex;
flex: 1;
height: 100%; height: 100%;
padding-bottom: 20px; padding-bottom: 20px;
padding-right: 10px; padding-right: 10px;

View File

@ -4,6 +4,9 @@
@media (min-width: 465px) { @media (min-width: 465px) {
font-size: 20px; font-size: 20px;
} }
@media (min-width: 992px) {
height: 40px;
}
} }
.main-title { .main-title {
@ -18,17 +21,19 @@
} }
.full-container { .full-container {
display: flex;
flex-direction: column;
padding: 0px 15px; padding: 0px 15px;
width: 100%; width: 100%;
min-height: 500px; height: calc(100vh - 250px);
height: calc(100% - 150px); @media (min-width: 992px) {
@media (max-width: 992px) { height: calc(100vh - 150px);
padding-bottom: 100px; }
};
} }
.chart { .chart {
width: 100%; display: flex;
flex: 1;
height: 100%; height: 100%;
padding-bottom: 20px; padding-bottom: 20px;
padding-right: 10px; padding-right: 10px;

View File

@ -4,6 +4,9 @@
@media (min-width: 465px) { @media (min-width: 465px) {
font-size: 20px; font-size: 20px;
} }
@media (min-width: 992px) {
height: 40px;
}
} }
.main-title { .main-title {
@ -18,17 +21,19 @@
} }
.full-container { .full-container {
display: flex;
flex-direction: column;
padding: 0px 15px; padding: 0px 15px;
width: 100%; width: 100%;
min-height: 500px; height: calc(100vh - 250px);
height: calc(100% - 150px); @media (min-width: 992px) {
@media (max-width: 992px) { height: calc(100vh - 150px);
padding-bottom: 100px; }
};
} }
.chart { .chart {
width: 100%; display: flex;
flex: 1;
height: 100%; height: 100%;
padding-bottom: 20px; padding-bottom: 20px;
padding-right: 10px; padding-right: 10px;

View File

@ -4,6 +4,9 @@
@media (min-width: 465px) { @media (min-width: 465px) {
font-size: 20px; font-size: 20px;
} }
@media (min-width: 992px) {
height: 40px;
}
} }
.main-title { .main-title {
@ -18,16 +21,19 @@
} }
.full-container { .full-container {
display: flex;
flex-direction: column;
padding: 0px 15px; padding: 0px 15px;
width: 100%; width: 100%;
min-height: 500px; height: calc(100vh - 250px);
height: calc(100% - 150px); @media (min-width: 992px) {
@media (max-width: 992px) { height: calc(100vh - 150px);
padding-bottom: 100px; }
};
} }
.chart { .chart {
display: flex;
flex: 1;
width: 100%; width: 100%;
height: 100%; height: 100%;
padding-bottom: 20px; padding-bottom: 20px;

View File

@ -4,6 +4,9 @@
@media (min-width: 465px) { @media (min-width: 465px) {
font-size: 20px; font-size: 20px;
} }
@media (min-width: 992px) {
height: 40px;
}
} }
.main-title { .main-title {
@ -18,18 +21,20 @@
} }
.full-container { .full-container {
display: flex;
flex-direction: column;
padding: 0px 15px; padding: 0px 15px;
width: 100%; width: 100%;
min-height: 500px; height: calc(100vh - 250px);
height: calc(100% - 150px); @media (min-width: 992px) {
@media (max-width: 992px) { height: calc(100vh - 150px);
padding-bottom: 100px; }
};
} }
.chart { .chart {
display: flex;
flex: 1;
width: 100%; width: 100%;
height: 100%;
padding-bottom: 20px; padding-bottom: 20px;
padding-right: 10px; padding-right: 10px;
@media (max-width: 992px) { @media (max-width: 992px) {

View File

@ -461,8 +461,6 @@
</ng-template> </ng-template>
</ng-template> </ng-template>
<br>
</div> </div>
<ng-template #feeTable> <ng-template #feeTable>