Skip to content

Commit

Permalink
UHF-10935: Added class and margin for delete attachment button
Browse files Browse the repository at this point in the history
  • Loading branch information
annadruid committed Dec 16, 2024
1 parent a1f30bf commit 367fed1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,9 @@ public static function processWebformComposite(&$element, FormStateInterface $fo
],
'wrapper' => $element["#webform_id"],
],
'#attributes' => [
'class' => ['button--delete-attachment'],
],
];
}
}
Expand Down
2 changes: 1 addition & 1 deletion public/themes/custom/hdbt_subtheme/dist/css/styles.min.css

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -509,3 +509,9 @@ input[type='radio'] + label.form-required::after {
width: calc(100% - var(--spacing-2-xs));
}
}

.grants-attachments--fields-wrapper {
.button--delete-attachment {
margin-top: var(--spacing-layout-xs);
}
}

0 comments on commit 367fed1

Please sign in to comment.