mirror of
https://github.com/mempool/mempool.git
synced 2024-11-20 10:21:52 +01:00
Add :before element for space before anchors
@angular-router's `scrollOffset` property seems to be global, so it might mess up something else, and it also wasn't taking effect when navigating directly to an anchor anyway (i.e. from browser's address bar).
This commit is contained in:
parent
5d8c970351
commit
9a18019d9d
@ -124,6 +124,14 @@ li.nav-item {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.endpoint-container:before {
|
||||
display: block;
|
||||
content: " ";
|
||||
height: 1px;
|
||||
margin-top: -1px;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.endpoint-container .section-header {
|
||||
display: block;
|
||||
background-color: #2d3348;
|
||||
|
Loading…
Reference in New Issue
Block a user