Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1434

Resize CKEditor according Modal Window dimensions, when "box-sizing" is used

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B1
    • Component/s: CMS
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      The WYSIWYG editor was larger, than modal window size in cases, when "box-sizing: border-box;" was present in Front-End stylesheet file.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Add following to /core/admin_templates/js/jquery/thickbox/thickbox.css:

      .ui-resizable { position: absolute; }
      
      #TB_window, .TB_window {
          -moz-box-sizing: content-box;
          -webkit-box-sizing: content-box;
          box-sizing: content-box;
      }
      
      .TB_closeWindowButton > img:first-child {
          vertical-align: bottom;
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Alex
                Reviewer:
                Gleb Sinkovskiy [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: