Skip to content
Snippets Groups Projects
Commit 92bcdc5b authored by Angie Byron's avatar Angie Byron
Browse files

Issue #2277661 by alexrayu, joelpittet: Fixed Labels with display:block and...

Issue #2277661 by alexrayu, joelpittet: Fixed Labels with display:block and 'for' attribute have an invisible hit area that is accidently clicked.
parent 75346a3b
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -1403,9 +1403,12 @@ details .details-description {
font-style: italic;
}
label {
display: block;
display: table;
font-weight: bold;
}
label[for] {
cursor: pointer;
}
input {
margin: 2px 0;
padding: 4px;
......
......@@ -764,11 +764,14 @@ fieldset {
padding: 0;
}
label {
display: block;
display: table;
margin: 0;
padding: 0;
font-weight: bold;
}
label[for] {
cursor: pointer;
}
.form-item label.option {
font-size: 0.923em;
text-transform: none;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment