Problem/Motivation
The problems:
when we install admin_dialog contrib module with claro theme and click on 'Add Custom Block' dialog box will be open, found that the Inconsistency in the off-canvas dialog theming like (font-size, alignment, buttons themes, padding, duplicate text) etc. Needs the consistency in dialog box theming.
Inconsistency:
- "Revision information No revision" is shown twice and without padding.
- Filter wrapper is taking too much vertical space, font-size should be like Block description (.form-item__description) and (div.filter-help) should be align right
- "Save" Button - font-size and padding is too small & the border-radius is too big compared to claro's non-off-canvas buttons

Steps to reproduce
- Clean install D10 (with default Claro theme)
- Edit the "Add Custom Block" action link (
route name = block_content_add_action) to be an Off-canvas dialog (data-dialog-type="dialog" data-dialog-renderer="off_canvas"), for example with the help of admin_dialog contrib module.
Proposed resolution
Need the theming consistency in off-canvas dialog, by adding padding, font style, padding , remove duplicate text, alignment etc.
Comments
Comment #2
kopeboyComment #5
Harish1688 commentedHi,
I attempted to recreate the problem using Core 11.x and the admin_dialog module, but unfortunately, that module is not compatible with Core. However, I was able to replicate the issue using Core 10.0.x with the module.
Comment #6
dsandhya commentedI was able to replicating issue with version 10.0.x and plz review the path
1. I have added space" and for the double time printing Revision information " This is the Drupal core functionality."
2. Vertical space issue for Filter wrapper is fixed
3. "Save" button theming is done
Comment #7
lokeshsahu commentedI made an attempt to reproduce the issue with Drupal Core 11.x along with the admin_dialog module. but unfortunately, that module is not compatible with D11, However, I was able to replicate the issue using Core 10.0.x with the module As instructed in the IS, I successfully installed a new instance of Drupal 10.0.x. Afterward, I proceeded to install the Admin Dialogs module. Once the module was installed, I applied patch #6 (3360933_6.patch) without encountering any errors. The patch was successfully applied.
These are the following things fixed by the patch:
1. Spaced added between information and No revision text in the "Revision informationNo revision" summary filed
2. Save button styling got fixed.
The duplicate text of "Revision informationNo revision" issue still exists post applying the patch.
Attaching a screenshot after applying the patch for reference .
Comment #8
Harish1688 commentedHello dsandhya,
Upon reviewing your patch #6, I noticed that you have used the "!important" declaration in multiple instances. It is important to note that relying heavily on "!important" is not considered good practice according to CSS guidelines. In light of this, I have created a revised patch that eliminates the use of "!important".
Extra point cover:-
1. div.filter-help should be floating right point
Note : The duplicate text of "Revision informationNo revision" issue remain because it's Drupal core functionality.
Comment #10
lokeshsahu commentedComment #11
smustgrave commentedIssue summary should be updated with proposed solution.
Comment #12
Harish1688 commented1. Updated the Issue summary with proposed solution.
2. #8 patch found the random failure, restoring the status to need review.
Comment #13
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
This does not mean that the patch needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #18
gauravvvv commentedComment #20
smustgrave commentedAppears to be missing the User interface section, but should have before/after screenshots. Also need to be reproduced without a contrib module.