-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AdminerEvo core update and significant improvements to iframed full v…
…ersion.
- Loading branch information
Showing
8 changed files
with
553 additions
and
528 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
c23fbee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Toutouwai - this commit probably still won't sway you from using the standalone option, but you still might want to give it a try - it handles resizing the iframe dynamically based on the height of the scrollable content and it also fixes issues with the browser history stack so it should be much better now.
c23fbee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adrianbj, very nice!
This isn't a new thing but just more noticeable to me in the iframe: the
default-[colour].css
files have this rule......which forces a scrollbar on pages that don't need it (on Windows at least).
Not sure why the Adminer crew included that rule but I think it should be
overflow:auto
. Maybe you could add that totweaks.css
?And also change the CSS file load order so that
tweaks.css
loads last, so that it can override rules without needing extra specificity.c23fbee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea - I've applied that overflow tweak here, but actually not sure how I can easily get tweaks to load after the theme files - adminer plugin order loading seems delicate - the tweaks don't get applied at all if the PW login plugin is loaded after the theme plugins. Maybe there is another way, but don't think I'll worry about it for now unless it's causing you issues/
c23fbee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add
tweaks.css
inAdminerTheme.php
instead of inAdminerProcessWireLogin.php
? If not then no worries, it will just require an!important
in the rule.c23fbee
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, adding it in AdminerTheme.php works - I forgot I had already had to hack that a bit, so no worries hacking it further :)
New version committed.