mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-10 07:14:04 +02:00
Fix layout of thumbnails when split/merge is disabled
This commit is contained in:
parent
d859d78bb5
commit
cdc1c8af40
@ -613,12 +613,20 @@
|
||||
--input-dim: 16px;
|
||||
--gap-between-input-and-thumbnail: 16px;
|
||||
|
||||
&:not(&:has(input)) {
|
||||
--input-dim: 0px;
|
||||
--gap-between-input-and-thumbnail: 0px;
|
||||
}
|
||||
|
||||
display: inline-flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
flex-direction: row-reverse;
|
||||
gap: var(--gap-between-input-and-thumbnail);
|
||||
width: 190px;
|
||||
width: calc(
|
||||
var(--thumbnail-width) + 2 *
|
||||
(var(--input-dim) + var(--gap-between-input-and-thumbnail))
|
||||
);
|
||||
height: auto;
|
||||
position: relative;
|
||||
scroll-margin-top: 20px;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user