Skip to content

Commit

Permalink
Merge pull request #205 from rsksmart/develop
Browse files Browse the repository at this point in the history
Merge develop to master
  • Loading branch information
ezequiel-rodriguez authored Feb 29, 2024
2 parents 95eab85 + 288c2db commit 59f251a
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/components/Charts/TxDensityChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export default {
onResize () {
const chartContainer = this.$el.querySelector('.chart-container')
const w = chartContainer.offsetWidth
const h = Math.max(chartContainer.offsetHeight, 130)
const h = 120
this.size = { w, h }
},
barClick (event) {
Expand Down
1 change: 1 addition & 0 deletions src/components/home/Block/PendingBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<div class="pending-blocks">
<button class="btn-upload-blocks" @click="updateBlocks">
<img src="@/assets/svg/blocks-icon.svg" alt="">
<span class="w-badge" v-if="pending"></span>
</button>
<div class="text-blocks">{{ pending }} new blocks</div>
<div class="time-blocks">in last {{ now - lastBlocksTime | abbr-time }}</div>
Expand Down
6 changes: 3 additions & 3 deletions src/styles/_home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -126,19 +126,19 @@
justify-content: center;
padding: 10px 0;
align-items: center;
// margin-bottom: 10px;
border-left: 1px solid #3A3A3A;
.btn-upload-blocks {
position: relative;
}
.w-badge {
width: 10px;
height: 10px;
width: 12px;
height: 12px;
background-color: $orange_900;
border-radius: 50px;
position: absolute;
top: 0;
right: 5px;
border: 2px solid $newbw_800;
}
.text-blocks {
margin-top: 8px;
Expand Down
10 changes: 5 additions & 5 deletions src/styles/_navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -245,26 +245,26 @@
display: block;
}
}
&.link-blocks {
&.link-blocks.router-link-exact-active {
background-color: $green_900;
color: #000;
}
&.link-txs {
&.link-txs.router-link-exact-active {
background-color: $orange_900;
color: #000;
}
&.link-address {
&.link-address.router-link-exact-active {
background-color: $pink_900;
color: #fff;
.block-icon {
display: none;
}
}
&.link-tokens {
&.link-tokens.router-link-exact-active {
background-color: $cyan_300;
color: #000;
}
&.link-apps {
&.link-apps.router-link-exact-active {
background-color: white;
color: #000;
svg {
Expand Down
18 changes: 10 additions & 8 deletions src/styles/_page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
margin-bottom: 4rem;
overflow-x: auto;
.content-section {
min-width: 810px;
min-width: 865px;
}
}

Expand Down Expand Up @@ -124,10 +124,10 @@
color: $orange_900;
}
}
// .data-table {
// padding-top: 65px;
// position: relative;
// }
.data-table {
padding-top: 65px;
position: relative;
}
.content-section {
position: relative;
background-color: $newbw_800;
Expand Down Expand Up @@ -518,10 +518,11 @@
color: $white_100;
padding: 0 24px;
h2 {
margin-bottom: 30px;
margin-bottom: 32px;
}
h3 {
margin-top: 60px;
font-size: 25px;
}

.tx-pool-chart {
Expand All @@ -540,13 +541,14 @@
margin: 30px 0;
}
.data-table {
margin-top: 60px;
margin-top: 20px;
position: relative;

.table-ctrls {
top: 15px;
top: 5px;
position: relative;
display: flex;
right: 0px;
}
table {
margin-top: 20px;
Expand Down

0 comments on commit 59f251a

Please sign in to comment.