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.
Modal title bar is styled like this:
.ui-dialog-titlebar {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
padding: 12px 1rem;
border-bottom: 1px solid #e6e6e6;
}
This results is modal title text displaying at some distance from the left edge of the modal, which looks bad.
When justify-content
is set to normal
, the modal title aligns to the modal content.
Comment | File | Size | Author |
---|---|---|---|
#11 | Screenshot 2023-06-08 at 14.33.16.png | 45.31 KB | Agami4 |
#4 | interdiff_2-4.txt | 338 bytes | immaculatexavier |
#4 | 3314635-4.patch | 834 bytes | immaculatexavier |
#2 | 3314635-2.patch | 396 bytes | immaculatexavier |
Issue fork socialbase-3314635
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
immaculatexavier CreditAttribution: immaculatexavier as a volunteer and at Srijan | A Material+ Company for Drupal India Association commentedAttached patch for the stated requirement
Comment #3
milos.kroulik CreditAttribution: milos.kroulik commentedThanks. I assume that we need to fix SCSS style as well. See https://git.drupalcode.org/project/socialbase/-/blob/2.1.x/components/04...
Comment #4
immaculatexavier CreditAttribution: immaculatexavier as a volunteer and at Srijan | A Material+ Company for Drupal India Association commented@milos.kroulik,
Addressed #3 and attached patch for the same.
Comment #6
milos.kroulik CreditAttribution: milos.kroulik commentedThe patch no longer applies. I'm trying to fix it, but it looks like there's an issue with the whitespace in modal.css file.
Comment #11
Agami4 CreditAttribution: Agami4 as a volunteer and at Lemberg Solutions, Open Social, Drupal Ukraine Community for Open Social commentedThank you for your improvements to the modal window. The changes look good. I merged improvements into the 2.3.x branch and cherry-pick into the 2.4.x and 2.5.x branches.