diff --git a/frontend/src/app/components/blocks-list/blocks-list.component.html b/frontend/src/app/components/blocks-list/blocks-list.component.html
index 9c2f964e2..f052b7fd6 100644
--- a/frontend/src/app/components/blocks-list/blocks-list.component.html
+++ b/frontend/src/app/components/blocks-list/blocks-list.component.html
@@ -26,7 +26,7 @@
|
-
+
|
@@ -96,4 +96,4 @@
-
\ No newline at end of file
+
diff --git a/frontend/src/app/components/blocks-list/blocks-list.component.scss b/frontend/src/app/components/blocks-list/blocks-list.component.scss
index 354c403af..abf337821 100644
--- a/frontend/src/app/components/blocks-list/blocks-list.component.scss
+++ b/frontend/src/app/components/blocks-list/blocks-list.component.scss
@@ -14,6 +14,10 @@
td {
padding-top: 0.7rem !important;
padding-bottom: 0.7rem !important;
+ @media (max-width: 376px) {
+ padding-top: 0.73rem !important;
+ padding-bottom: 0.73rem !important;
+ }
}
.clear-link {
@@ -35,8 +39,7 @@ td {
.pool.widget {
width: 40%;
padding-left: 30px;
- @media (max-width: 576px) {
- padding-left: 40px;
+ @media (max-width: 376px) {
width: 60%;
}
}
diff --git a/frontend/src/app/components/difficulty-adjustments-table/difficulty-adjustments-table.component.html b/frontend/src/app/components/difficulty-adjustments-table/difficulty-adjustments-table.component.html
index 51872c932..787058d91 100644
--- a/frontend/src/app/components/difficulty-adjustments-table/difficulty-adjustments-table.component.html
+++ b/frontend/src/app/components/difficulty-adjustments-table/difficulty-adjustments-table.component.html
@@ -1,5 +1,5 @@
-
+
Height |
diff --git a/frontend/src/app/components/difficulty-adjustments-table/difficulty-adjustments-table.component.scss b/frontend/src/app/components/difficulty-adjustments-table/difficulty-adjustments-table.component.scss
index c4a81f804..a0d8e115e 100644
--- a/frontend/src/app/components/difficulty-adjustments-table/difficulty-adjustments-table.component.scss
+++ b/frontend/src/app/components/difficulty-adjustments-table/difficulty-adjustments-table.component.scss
@@ -1,4 +1,4 @@
-.latest-transactions {
+.latest-adjustments {
width: 100%;
text-align: left;
table-layout:fixed;
@@ -7,34 +7,8 @@
}
td {
width: 25%;
- }
- .table-cell-satoshis {
- display: none;
- text-align: right;
- @media (min-width: 576px) {
- display: table-cell;
+ @media (max-width: 376px) {
+ padding: 0.85rem;
}
- @media (min-width: 768px) {
- display: none;
- }
- @media (min-width: 1100px) {
- display: table-cell;
- }
- }
- .table-cell-fiat {
- display: none;
- text-align: right;
- @media (min-width: 485px) {
- display: table-cell;
- }
- @media (min-width: 768px) {
- display: none;
- }
- @media (min-width: 992px) {
- display: table-cell;
- }
- }
- .table-cell-fees {
- text-align: right;
}
}
diff --git a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.html b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.html
index e3d2f6213..4e9c66495 100644
--- a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.html
+++ b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.html
@@ -44,12 +44,12 @@
-
+
+
-
+
diff --git a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.scss b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.scss
index 62903d4f4..54dbe5fad 100644
--- a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.scss
+++ b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.scss
@@ -20,12 +20,11 @@
.full-container {
padding: 0px 15px;
width: 100%;
- height: calc(100% - 170px);
+ min-height: 500px;
+ height: calc(100% - 150px);
@media (max-width: 992px) {
- height: calc(100% - 220px);
- };
- @media (max-width: 575px) {
- height: calc(100% - 260px);
+ height: 100%;
+ padding-bottom: 100px;
};
}
@@ -93,17 +92,8 @@
}
.item {
width: 50%;
- margin: 0px auto 10px;
display: inline-block;
- @media (min-width: 485px) {
- margin: 0px auto 10px;
- }
- @media (min-width: 785px) {
- margin: 0px auto 0px;
- }
- &:last-child {
- margin: 0px auto 0px;
- }
+ margin: 0px auto 20px;
&:nth-child(2) {
order: 2;
@media (min-width: 485px) {
diff --git a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts
index c210017fa..fd2a52b5e 100644
--- a/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts
+++ b/frontend/src/app/components/hashrate-chart/hashrate-chart.component.ts
@@ -155,10 +155,10 @@ export class HashrateChartComponent implements OnInit {
'#D81B60',
],
grid: {
- top: 30,
+ top: 20,
+ bottom: this.widget ? 30 : 70,
right: this.right,
left: this.left,
- bottom: this.widget ? 30 : this.isMobile() ? 90 : 60,
},
tooltip: {
show: !this.isMobile() || !this.widget,
@@ -174,7 +174,7 @@ export class HashrateChartComponent implements OnInit {
align: 'left',
},
borderColor: '#000',
- formatter: function (ticks) {
+ formatter: (ticks) => {
let hashrateString = '';
let difficultyString = '';
let hashratePowerOfTen: any = selectPowerOfTen(1);
@@ -205,7 +205,7 @@ export class HashrateChartComponent implements OnInit {
${hashrateString}
${difficultyString}
`;
- }.bind(this)
+ }
},
xAxis: data.hashrates.length === 0 ? undefined : {
type: 'time',
@@ -239,7 +239,7 @@ export class HashrateChartComponent implements OnInit {
},
yAxis: data.hashrates.length === 0 ? undefined : [
{
- min: function (value) {
+ min: (value) => {
return value.min * 0.9;
},
type: 'value',
@@ -256,7 +256,7 @@ export class HashrateChartComponent implements OnInit {
}
},
{
- min: function (value) {
+ min: (value) => {
return value.min * 0.9;
},
type: 'value',
@@ -266,7 +266,7 @@ export class HashrateChartComponent implements OnInit {
formatter: (val) => {
const selectedPowerOfTen: any = selectPowerOfTen(val);
const newVal = Math.round(val / selectedPowerOfTen.divider);
- return `${newVal} ${selectedPowerOfTen.unit}`
+ return `${newVal} ${selectedPowerOfTen.unit}`;
}
},
splitLine: {
@@ -310,7 +310,6 @@ export class HashrateChartComponent implements OnInit {
type: 'slider',
brushSelect: false,
realtime: true,
- bottom: this.isMobile() ? 30 : 0,
left: 20,
right: 15,
selectedDataBackground: {
diff --git a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.html b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.html
index 32f6a7b25..1ee088c7e 100644
--- a/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.html
+++ b/frontend/src/app/components/hashrates-chart-pools/hashrate-chart-pools.component.html
@@ -1,6 +1,6 @@
- |