forked from AkkomaGang/akkoma-fe
fix pixel offset hack in panel heading
This commit is contained in:
parent
5186929efa
commit
78ec84477e
2 changed files with 3 additions and 5 deletions
|
@ -113,6 +113,7 @@
|
||||||
}
|
}
|
||||||
.loadmore-text {
|
.loadmore-text {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
line-height: 1em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -63,11 +63,8 @@
|
||||||
width: 24rem;
|
width: 24rem;
|
||||||
.timeline-menu-popover-wrap {
|
.timeline-menu-popover-wrap {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
// Hack: timeline heading padding is 0.6em with 14px font font-size
|
// Match panel heading padding to line up menu with bottom of heading
|
||||||
// in theory 0.6rem should match that exactly, but in reality it doesn't
|
margin-top: 0.6rem;
|
||||||
// for seemingly rounding errors in both major browsers. This looks
|
|
||||||
// correct in firefox in chromium.
|
|
||||||
margin-top: calc(0.6rem + 1.5px);
|
|
||||||
padding: 0 15px 15px 15px;
|
padding: 0 15px 15px 15px;
|
||||||
}
|
}
|
||||||
.timeline-menu-popover {
|
.timeline-menu-popover {
|
||||||
|
|
Loading…
Reference in a new issue