libreoffice-online/browser/css/writer.css
Pedro Pinto Silva 0d7dfa92dd Fix drop-down marker (form control) size
- Better to don't set hard width or height values via CSS
JS is already setting it initially and updating it when
zoom changes
- Add min width and min height otherwise:
    - The control can become almost impossible to interact with (too
    small if we zoom too far out)
    - The arrow becomes unreadable

Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com>
Change-Id: Id54f7addbd8899a3e3ca97493e1865aa36b88817
2022-09-26 16:01:21 +02:00

12 lines
382 B
CSS

.writer-drop-down-marker {
cursor: pointer;
margin-left: 3px !important;
margin-top: 1px !important;
min-width: 22px;
min-height: 22px;
background: url('images/unfold.svg') center/16px var(--color-background-lighter) no-repeat;
border: 1px solid var(--color-border-darker);
border-radius: var(--border-radius);
box-sizing: border-box;
box-shadow: 0 0 1px 1px #00000015;
}