TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

March 28, 2024, 08:41:35 AM

Login with username, password and session length
Members
Stats
  • Total Posts: 195,104
  • Total Topics: 21,212
  • Online today: 176
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 1
  • Guests: 188
  • Total: 189
  • illori

Admin menu shifts unexpectedly.

Started by SeverityGaming, October 04, 2019, 04:00:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SeverityGaming

Link to my forum: https://www(dot)dev(dot)severitygaming(dot)com / https://www(dot)severitygaming(dot)com
SMF version: 2.0.15
TP version: 1.6.4
Default Forum Language: English
Theme name and version: Darkec - https://smftricks(dot)com/index(dot)php?topic=1616(dot)0
Browser Name and Version: All. (Mainly Chrome Though)
Related Error messages: No error messages, just unexplained behavior.
Mods installed: PDF attached to the thread.

When I go to the admin menu, and hit the dropdown to nav through the various options, the whole navbar shifts and adds a ton of whitespace above it, it doesnt reset until you load another page, and it'll happen again.

It does not appear to do the same thing in the default SMF theme, but it's a different style of menu. Here's a video of what I'm talking about. https://:youtu(dot)be/PgZde2auMIo

@rjen

#1
https://youtu.be/PgZde2auMIo

What makes you think this is related to TinyPortal? In you video I only see an admin_menu div taking up place, due to a min-height setting of 2em  which is in index.css

This is not an element in TP, and index.css is not changed by TP, so it seems to be a theme issue. What theme are you using? Since you say it is a paid theme, you may need to ask the theme author for support...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

SeverityGaming

If I uninstall tinyportal, it doesn't happen. That's all I have to work off of right now.

Will happily go to the theme author and ask for support from them as well. But I have a feeling that they will probably tell me to come back here since it only starts happening once TP is added to the mix. :( #supportlife

@rjen

Since we do not have access to the section that you are showing and the theme is paid ,  the only way to analyse it would be access to your forum. If you can pm me an admin account I can have a look...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

lurkalot

SeverityGaming, I have increased your post count on here now, so you can PM etc without problems.

@rjen

I just had a look at your admin section and I see the symptom, but I cannot see the cause: it seems that when accessing the admin section to start it is fine, and at the moment the dropmenu shows, the ul and li elements suddenly 'drop'. With refreshing all is fine again.

I checked all css elements but I do not see any Tinyportal css kicking in, so it is not something we can fix.

Since TinyPortal does not show this behavour on other themes I can only conclude that 'something' in your theme reacts to Tinyportal placing a DIV element (maincontainer or centercontainer) around the admin page.

I wish I could pinpoint what it is, but I cannot, so the only advice I can give you is to check if the theme author has some wisdom for you...
Running Latest TP on SMF2.1 at: www.fjr-club.nl

SeverityGaming

Quote from: @rjen on October 04, 2019, 06:29:43 PM
I just had a look at your admin section and I see the symptom, but I cannot see the cause: it seems that when accessing the admin section to start it is fine, and at the moment the dropmenu shows, the ul and li elements suddenly 'drop'. With refreshing all is fine again.

I checked all css elements but I do not see any Tinyportal css kicking in, so it is not something we can fix.

Since TinyPortal does not show this behavour on other themes I can only conclude that 'something' in your theme reacts to Tinyportal placing a DIV element (maincontainer or centercontainer) around the admin page.

I wish I could pinpoint what it is, but I cannot, so the only advice I can give you is to check if the theme author has some wisdom for you...

I appreciate you taking a look! :) If I figure it out, I'll post back here with details.

tino

Do you have some access credentials you can share with me? I might be able to find the cause, although I doubt it.

SeverityGaming

passed them along. When navigating around, I see that this also happens with the menu when viewing user profiles as well.

SeverityGaming

After working with the Theme developer. This ended up being the solution.

Quote from: Diego Andrés
Right so no clue how TP is breaking it but the float attribute is usually unreliable for lists anyway.

Just add this at the end of the index.css should fix it
.nav-pills>li {
float: none !important;
display: inline;
}