Skip to content
Snippets Groups Projects

CSS only fix - #3395590

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
7 7 position: absolute;
8 8 top: 0;
9 9 left: 0;
10 max-width: 100vw;
  • utkarsh_33 added 1 commit

    added 1 commit

    • 4debdc85 - Added the modal-dialog class to respective dialog

    Compare with previous version

  • 102 102 }
    103 103 adjustedOptions[option] = adjustedValue;
    104 104 }
    105 if (event.data.settings.modal) {
    106 // Adding the modal-dialog class to take displace into account
    107 // for width calculation.
    108 event.data.$element.parent()[0].classList.add('modal-dialog');
  • utkarsh_33 added 2 commits

    added 2 commits

    • f88ab8df - Moved the logic to more generic component
    • 7ee9231a - Swapped the max-width conditions

    Compare with previous version

  • 27 28 }
    28 29 }
    29 30
    31 .ui-dialog .modal-dialog {
  • utkarsh_33 added 38 commits

    added 38 commits

    Compare with previous version

  • utkarsh_33 added 1 commit

    added 1 commit

    Compare with previous version

  • utkarsh_33 added 11 commits

    added 11 commits

    Compare with previous version

  • 85
    86 $page->pressButton('List additional actions');
    87 $page->findLink('Delete')->click();
    88 $this->assertSession()->waitForElementVisible('css', '[role="dialog"]');
    89 $this->assertSession()->assertWaitOnAjaxRequest();
    90 $script = <<<SCRIPT
    91 (function() {
    92 return document.querySelector('.modal-dialog').style.width;
    93 }())
    94 SCRIPT;
    95
    96 // Resize the window.
    97 $width_before = $this->getSession()->getDriver()->evaluateScript($script);
    98 $this->getSession()->resizeWindow(785, 805);
    99 $width_after = $this->getSession()->getDriver()->evaluateScript($script);
    100 $this->assertEquals($width_before,$width_after);
  • utkarsh_33 added 1 commit

    added 1 commit

    Compare with previous version

  • utkarsh_33 added 14 commits

    added 14 commits

    Compare with previous version

  • 1 .ui-dialog {
  • utkarsh_33 added 2 commits

    added 2 commits

    • 20e9cfe8 - Refactored the location of newly added css file
    • 7f59a2c7 - Removed unused modules

    Compare with previous version

  • utkarsh_33 added 1 commit

    added 1 commit

    • cb4c90ad - Added overrides for stable9 theme

    Compare with previous version

  • utkarsh_33 added 3 commits

    added 3 commits

    • 4915739a - Added test for non modal dialog
    • 77627d01 - Attached css to drupal.dialog
    • ec1adde4 - Restructured oveerrides

    Compare with previous version

  • utkarsh_33 added 30 commits

    added 30 commits

    Compare with previous version

  • utkarsh_33 added 4 commits

    added 4 commits

    Compare with previous version

  • 300 300 css:
    301 301 theme:
    302 302 css/field_ui_display_mode_table.css: css/field_ui/field_ui_display_mode_table.css
    303 core/drupal.dialog:
    304 css:
    305 component:
    306 misc/dialog/dialog.css: css/core/dialog/dialog.css
    307 modules/ckeditor5/css/ckeditor5.dialog.fix.css: css/ckeditor5/ckeditor5.dialog.fix.css
    • I have added an override for this because $libraries['drupal.dialog']['css']['component']['modules/ckeditor5/css/ckeditor5.dialog.fix.css'] = [];is appended in the ckeditor5.module.I am not sure whether it's correct or not.

    • Please register or sign in to reply
  • utkarsh_33 added 30 commits

    added 30 commits

    Compare with previous version

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading