Fixed chapter list folding button edge case
For very long chapter list, the button would just not be rendered in Chrome. This is a browser bug. Hopefully, keeping it as grid will get around the issue.
This commit is contained in:
parent
2461d3813d
commit
e535c99bb3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -331,13 +331,15 @@ $header_breakpoint: 640px;
|
||||
margin-top: 24px;
|
||||
|
||||
.chapter-group__list-item._folding-toggle {
|
||||
display: block;
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: auto;
|
||||
content-visibility: visible;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
&__folding-toggle {
|
||||
display: block;
|
||||
grid-template-columns: 1fr;
|
||||
grid-template-rows: auto;
|
||||
content-visibility: visible;
|
||||
color: var(--fg-800);
|
||||
line-height: 1.125;
|
||||
|
Loading…
x
Reference in New Issue
Block a user