UI/UX - Scroll by clicking on the pagination button. (#613)

* Add scrollIntoView when click on pagination.

* Add padding top.

* Fix access DOM from ViewChild.

* Fix scrolling position.

* Fix chrome and firefox compatibility.
This commit is contained in:
Miguel Medeiros
2021-07-16 09:33:22 -03:00
committed by GitHub
parent 52aea12f22
commit 38aee1a897
3 changed files with 27 additions and 11 deletions

View File

@@ -73,26 +73,40 @@ h1 {
}
}
.btn-details {
position: relative;
top: 7px;
@media (min-width: 550px) {
top: 0px;
}
}
.block-tx-title {
margin-top: -1.5rem;
padding-top: 10px;
display: block;
text-align: right;
margin-top: -30px;
@media (min-width: 550px) {
margin-top: 1rem;
margin-top: 0px;
padding-top: 10px;
}
h2 {
width: auto;
display: inline-block;
float: left;
margin: 0;
line-height: 1.6;
margin: 0;
margin-bottom: -15px;
padding-right: 10px;
top: -10px;
padding-top: 15px;
position: relative;
top: -22px;
width: auto;
@media (min-width: 550px) {
padding-top: 0px;
top: 0px;
}
@media (min-width: 768px) {
padding-top: 5px;
line-height: 1;
}
}