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

removed white spaces in menu header (fixes Issue #1536) #1547

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maggienegm
Copy link
Contributor

The white spaces (which is actually the primary color chosen in the Global settings) in the menu header and around the user's name have been removed and no longer show no matter the screen size. It now looks like this:

Full Screen View
uniform-color-full-screen

Less than Full Screen but Menu isn't Hidden View
uniform-color-not-full-view

Hidden Menu View
uniform-color-mobile-view

@maggienegm
Copy link
Contributor Author

I may have found a bug while working on this, but would like it if someone else could confirm it's a bug.

I believe that the primary color chosen in the Global Settings (Administration > Globals > Appearance tab > Primary color) isn't showing properly in the menu header. The Global Settings allow you to choose a different color than the default one (the tan color above - #fedf98), but it doesn't show in the app.

I believe it's because when the app is first loaded, there's a call to the style.php file with preloaded color choices, as shown below:
style-php-call-outline
However, I was unsuccessful in locating the original call to style.php. The inspector says it came form main.php, but I can't find the call to style.php in there. So, I'm stuck and would appreciate any help!

@KoniKodes
Copy link
Contributor

@muarachmann @Ngai-E @VirginiaBalseiro Can someone help Maggie track down this issue?

@maggienegm
Copy link
Contributor Author

I may have found a bug while working on this, but would like it if someone else could confirm it's a bug.

I believe that the primary color chosen in the Global Settings (Administration > Globals > Appearance tab > Primary color) isn't showing properly in the menu header. The Global Settings allow you to choose a different color than the default one (the tan color above - #fedf98), but it doesn't show in the app.

I believe it's because when the app is first loaded, there's a call to the style.php file with preloaded color choices, as shown below:
style-php-call-outline
However, I was unsuccessful in locating the original call to style.php. The inspector says it came form main.php, but I can't find the call to style.php in there. So, I'm stuck and would appreciate any help!

I've since then figured out the user preferences takes priority over the global settings, so this is no longer an issue.

@KoniKodes
Copy link
Contributor

Then do we want to close this?

@maggienegm
Copy link
Contributor Author

Not yet! The original issue's PR solution stills needs to be checked.

@KoniKodes
Copy link
Contributor

Oh. Alright.

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

Successfully merging this pull request may close these issues.

2 participants