Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When a user publishes a node, comment settings selected as 'Open' then after saving the node, under 'Add new comment' the buttons Save and Preview doesn't have spacing in between them.
Suggestion:
You need to add:
.btn-success {
margin-right: 10px;
}
Comment | File | Size | Author |
---|---|---|---|
#9 | bootstrap-2818253-9.patch | 706 bytes | pifagor |
bootstrap-button-space.png | 33.53 KB | bandanasharma |
Comments
Comment #2
pifagorComment #3
sneha_surve CreditAttribution: sneha_surve at Iksula commentedComment #4
sneha_surve CreditAttribution: sneha_surve at Iksula commentedPatch applied as per the suggestion.
Comment #5
markhalliwellThe selector is too generic (i.e. applies to all
.btn-success
elements). It should instead probably be something like:.form-actions .btn
This way it only applies to buttons inside the
.form-actions
wrapper and applies to all buttons, not just.btn-success
(since there could be many types of buttons and more than just one or two).Also, please do not provide a patch that modifies the compiled CSS. These are automatically generated as part of the maintainers
grunt compile
task from the less source files.Comment #6
markhalliwellComment #7
pifagorComment #8
markhalliwellIt should just be:
There's no need to nest when there's nothing else in there and it shouldn't be
.btn-success
.Comment #9
pifagornew patch
Comment #11
markhalliwellComment #13
pifagor