Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch : margin-top : Editor toolbar "sticky" to FullScreen #98

Merged
merged 2 commits into from
May 13, 2019

Commits on May 13, 2019

  1. Patch : margin-top : Editor toolbar "sticky" to FullScreen

    I use margin-top rules in PluXml project to work gracefully :)
    But, when clic on FullScreen button in "sticky" toolbar
    
    If editor is sticky & toggle to fullscreen mode:
    big space before & after Sun toolbar on screen > 767px.
    
    toolbar have "sun-editor-sticky" class & apply margin-top
    + the stickyDummy are visible
    
    With this css rules:
    
    ```
    .sun-editor-id-toolbar.sun-editor-common.sun-editor-sticky{
     margin-top: 13rem;
    }
    
    @media (max-width: 767px) {
     .sun-editor-id-toolbar.sun-editor-common.sun-editor-sticky{
      margin-top: 0;
     }
    }
    ```
    
    After .zIndex="2147483647"
    ADD
    e.element._stickyDummy.style.display="none",
    s.removeClass(n,"sun-editor-sticky")
    
    & it's all right ;)
    sudwebdesign committed May 13, 2019
    Configuration menu
    Copy the full SHA
    ac14370 View commit details
    Browse the repository at this point in the history
  2. ···

    sudwebdesign committed May 13, 2019
    Configuration menu
    Copy the full SHA
    5c0bb90 View commit details
    Browse the repository at this point in the history