olho
April 7, 2015, 10:42pm
4
hey,
today i try to reduce the button in the bottom right because in the android is too big.
so i find where is the code to change, now is perfect with chromium browser and firefox,but in android still a little big.
Any one knows where to look to reduce for small ecrans.
the file is ynhpanel.css
this is what i changed:
Button
******************************************************************* */
#ynhportal {
display: block;
position: fixed;
z-index: 10000000;
bottom: 51px;
right: 20px;
width: 10px;
height: 10px;
padding: 7px;
border: 7px solid #41444f ;
border-radius: 100px;
background: #41444f ;
kload
April 12, 2015, 10:13pm
5
@olho You can probably use some Media Queries:
http://www.w3schools.com/cssref/css3_pr_mediaquery.asp
It allows you to set different CSS rules for different screen resolutions.
olho
April 14, 2015, 1:36am
6
hey,
Yes i check and i see the css rules and i try to change but not changed in the android. Well, for now is perfect!
xof
May 15, 2015, 4:15pm
7
Hello all,
After upgrade, the logo is draggable ! You can even drag it out of the window
Thanks (@opi ?)
opi
May 16, 2015, 4:35pm
9
xof:
Thanks (@opi ?)
you’re welcome, glad you like it !!
kanhu
July 26, 2017, 5:57am
10
@opi
The link to logo don’t work after I have changed the portal domain in conf.json.persistent.
"portal_domain": "random.domain.tld"
The main domain is set to domain.tld but the link don’t take me back to the home page now
opi
July 26, 2017, 1:04pm
11
The link is created here : https://github.com/yunohost/ssowat/blob/unstable/portal/assets/js/ynhpanel.js#L203-L208 , and is basically a link to “/yunohost/sso”, no matter the current domain. Maybe SSOwat is not ready for a proper portal_domain
change. I’ve never tested it out.
Note, you may use the bugtracker for reporting issues
Hey everybody
I would like to hide or turn off this bottom right logo, because I host a public website on my YNH (with https://github.com/YunoHost-Apps/my_webapp_ynh ).
Can I hide the logo only for this app ?
Thanks !
Aleks
February 6, 2019, 5:24pm
13
Hi,
I think you can edit the config file, should be something like /etc/nginx/conf.d/your.domain.tld.d/my_webapp.conf
, then comment the line related to ynhpanel.js, and reload nginx
2 Likes
kanhu
February 7, 2019, 12:29pm
15
Beware on update the logo will come again.
2 Likes
Any idea of a way to turn it off automatically after updates ?
Mamie
February 7, 2019, 3:35pm
17
You can have a look there : YunoHost switch box in the lower right side blocks apps UI elements
On my side, I commented everything in /etc/nginx/conf.d/yunohost_panel.conf.inc
So the js is not even present in the pages.
I’ll see if this is overrided when YunoHost is updated
It was months ago and no update broke it
1 Like
pigpig
August 1, 2020, 12:25pm
18
It will disable the panel for every panel
admin@the:/etc/nginx/conf.d $ sudo mv yunohost_panel.conf.inc yunohost_panel.conf.inc.bak
admin@the:/etc/nginx/conf.d $ sudo touch yunohost_panel.conf.inc
3 Likes
unmy
March 18, 2022, 3:31pm
19
it worked and it was so easy!!!
thank you!
snm
April 26, 2022, 1:10pm
20
You can use the following command to remove the overlay:
yunohost settings set ssowat.panel_overlay.enabled -v False
8 Likes
Thank you everyone. It greatly helped me as well!
This setting is now available in the admin portal as well under Tools → YunoHost Settings → Other
1 Like