mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #6421 from Snuffleupagus/outline-CSS-tweaks
Adjust the `min-width` of outline items and use more consistent `border-radius` (PR 6242 follow-up)
This commit is contained in:
commit
1936851038
1 changed files with 3 additions and 0 deletions
|
@ -1206,6 +1206,8 @@ html[dir='rtl'] .outlineItem > .outlineItems {
|
|||
text-decoration: none;
|
||||
display: inline-block;
|
||||
min-width: 95%;
|
||||
min-width: calc(100% - 4px); /* Subtract the right padding (left, in RTL mode)
|
||||
of the container. */
|
||||
height: auto;
|
||||
margin-bottom: 1px;
|
||||
border-radius: 2px;
|
||||
|
@ -1280,6 +1282,7 @@ html[dir='rtl'] .outlineItemToggler::before {
|
|||
box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
|
||||
0 0 1px hsla(0,0%,100%,.2) inset,
|
||||
0 0 1px hsla(0,0%,0%,.2);
|
||||
border-radius: 2px;
|
||||
color: hsla(0,0%,100%,.9);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue