Fixing header margin and Lightning charts

This commit is contained in:
softsimon 2023-05-06 00:08:26 +04:00
parent 3425f2e390
commit e5ae2f6ef6
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
4 changed files with 35 additions and 21 deletions

View File

@ -64,8 +64,7 @@
<app-testnet-alert *ngIf="network.val === 'testnet' || network.val === 'signet'"></app-testnet-alert> <app-testnet-alert *ngIf="network.val === 'testnet' || network.val === 'signet'"></app-testnet-alert>
<br /> <main style="margin-top: 24px;">
<main>
<router-outlet></router-outlet> <router-outlet></router-outlet>
</main> </main>

View File

@ -4,17 +4,20 @@
@media (min-width: 465px) { @media (min-width: 465px) {
font-size: 20px; font-size: 20px;
} }
@media (min-width: 992px) {
height: 40px;
}
} }
.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);
height: 100%; }
padding-bottom: 100px;
};
} }
.full-container.widget { .full-container.widget {
min-height: 240px; min-height: 240px;
@ -34,8 +37,10 @@
} }
.chart { .chart {
width: 100%; display: flex;
flex: 1;
height: 100%; height: 100%;
padding-top: 30px;
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;