Skip to content

Commit

Permalink
Merge pull request #503 from localgovdrupal/justinepocock-patch-2
Browse files Browse the repository at this point in the history
Create fields.css
  • Loading branch information
finnlewis authored Nov 13, 2023
2 parents 2f5a65f + 92a04be commit df04724
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions css/fields.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**
* @file
* Visual styles for fields.
*/

.field__label {
font-weight: var(--heading-font-weight);
}
.field--label-inline .field__label,
.field--label-inline .field__items {
float: left; /* LTR */
}
.field--label-inline .field__label,
.field--label-inline > .field__item,
.field--label-inline .field__items {
padding-right: var(--spacing-smaller);
}
[dir="rtl"] .field--label-inline .field__label,
[dir="rtl"] .field--label-inline .field__items {
padding-right: 0;
padding-left: var(--spacing-smaller);
}

0 comments on commit df04724

Please sign in to comment.