-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove margin between file input field and link
The file input field is wrapped by a `div` with class `.form-item` and thus gets a bottom margin. The `p` element containing the link to the current file has a top margin. So there is a lot of space between input field and link. This change sets these margins to `0`.
- Loading branch information
Dominic Tubach
committed
Oct 4, 2024
1 parent
62fe681
commit 3a40208
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
file-field: | ||
css: | ||
theme: | ||
css/file-field.css: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.form-item:has(+.civiremote-form-file-link) { | ||
/* No margin between file form item and link. */ | ||
margin-bottom: 0; | ||
} | ||
|
||
.civiremote-form-file-link { | ||
/* No margin between file form item and link. */ | ||
margin-top: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters