Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Strange effect on TinyMCE editor only on Pivot theme #67

Open
poVoq opened this issue Apr 26, 2018 · 4 comments
Open

Strange effect on TinyMCE editor only on Pivot theme #67

poVoq opened this issue Apr 26, 2018 · 4 comments
Labels

Comments

@poVoq
Copy link

poVoq commented Apr 26, 2018

Setup

  • Browsers and versions: Firefox, Chome, Firefox Android
  • MediaWiki version: 1.30
  • Pivot version: latest
  • Extension version (if connected to the issue): TinyMCE editor https://github.com/yaronkoren/TinyMCE/

Issue

Contrary to all other Mediawiki skins that I tried (Vector, Bootstrap based etc.), the pop-ups for inserting link and images in the TinyMCE editor extension look distorted with the Pivot skin, see screenshots of the issue here:
yaronkoren/TinyMCE-old#14

Any idea what could be causing this? Thanks for the help!

@Hutchy68 Hutchy68 added the Bug label Apr 26, 2018
@Hutchy68
Copy link
Owner

Hutchy68 commented Apr 26, 2018

Just took a quick look and the only thing I can see is the computed element set width is really low. On all the other skins it sets to 400px + on Pivot and Foreground it sets to mid 300px. So the question would be why, does Pivot and Foreground have a missing div id, div class, conflicting js, etc.

EDITED

@Hutchy68
Copy link
Owner

Specifics in Pivot popup form for image uploads. Why is it 100px less?

element.style {
    border-width: 1px;
    z-index: 65536;
    left: 838.5px;
    top: 243.5px;
    width: 369px;
    height: 423px;
}

in Vector

element.style {
    border-width: 1px;
    z-index: 65536;
    left: 794.5px;
    top: 250.5px;
    width: 457px;
    height: 409px;
}

@Hutchy68
Copy link
Owner

Note calculation is the same in Foreground too.

@poVoq
Copy link
Author

poVoq commented Jul 11, 2018

Just as a heads up, the exact same issue also happens with the Foreground skin, so I guess it is related to the Zurb framework?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants