mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-26 21:56:39 +00:00
checkbox-list styling with taller <p> element
This commit is contained in:
parent
782169da76
commit
3960327a43
|
@ -23,7 +23,7 @@ const React = require("react");
|
|||
module.exports = function CheckList({ field, Component, header = " All", ...componentProps }) {
|
||||
return (
|
||||
<div className="checkbox-list list">
|
||||
<label className="header">
|
||||
<label className="header entry">
|
||||
<input
|
||||
ref={field.toggleAll.ref}
|
||||
type="checkbox"
|
||||
|
|
|
@ -370,7 +370,8 @@ span.form-info {
|
|||
|
||||
.checkbox-list {
|
||||
.header, .entry {
|
||||
gap: 1rem;
|
||||
display: grid;
|
||||
gap: 0 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -625,7 +626,6 @@ span.form-info {
|
|||
|
||||
.checkbox-list {
|
||||
.entry {
|
||||
display: grid;
|
||||
grid-template-columns: auto auto 1fr;
|
||||
}
|
||||
|
||||
|
@ -684,9 +684,14 @@ button.with-padding {
|
|||
|
||||
.suspend-import-list {
|
||||
.checkbox-list {
|
||||
.header, .entry {
|
||||
display: grid;
|
||||
.entry {
|
||||
grid-template-columns: auto 25ch auto 1fr;
|
||||
grid-template-rows: auto 1fr;
|
||||
|
||||
p {
|
||||
grid-column: 4;
|
||||
grid-row: 1 / span 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue