mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
forms.css gives every input the 9px 14px padding of a text field. The Draggable table brought its native checkboxes back without removing it, so a 16px box left the browser about 2px to draw in and a ticked one was a small blue dot beside an unticked square. The same was true of the WIP limit groups popup and of task-list checkboxes in a description. All three have no padding now, and a test fails on any stylesheet that brings back a native checkbox with it. Thanks to mimZD and xet7 ! Fixes #6820.
26 lines
1.0 KiB
CSS
26 lines
1.0 KiB
CSS
.board-drag-settings { width: 100%; margin-bottom: 16px; }
|
|
.board-drag-settings th { text-align: start; }
|
|
.board-drag-settings th:last-child, .board-drag-settings td:last-child { text-align: center; }
|
|
.board-drag-settings input[type=checkbox] { width: auto; min-height: 0; margin: 4px; }
|
|
/* #6820: forms.css gives every input 9px 14px of padding and a border; on a
|
|
16px native checkbox that left the browser about 2px to draw in, so a ticked
|
|
box was a small blue dot beside an unticked square. A native checkbox keeps
|
|
no padding, border or background of a text field. */
|
|
.board-drag-settings input[type=checkbox] {
|
|
padding: 0;
|
|
border: 0;
|
|
background: none;
|
|
box-shadow: none;
|
|
display: inline-block;
|
|
visibility: visible;
|
|
position: static;
|
|
inset-inline-start: auto;
|
|
width: 16px;
|
|
height: 16px;
|
|
appearance: auto;
|
|
transform: none;
|
|
}
|
|
/* Select all / Unselect all centred under their "Draggable" heading, as the
|
|
heading and its checkboxes are. */
|
|
.board-drag-settings th .board-settings-column-actions { justify-content: center; }
|