[web2py] Re: menu li > a padding in case of button

2017-12-07 Thread 'Annet' via web2py-users
Hi Paolo, Maybe > > .web2py-menu li:nth-of-type(2) {padding:0;} > > Yes, that solves the problem, thank you for your help. Kind regards, Annet -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/

[web2py] Re: menu li > a padding in case of button

2017-12-05 Thread Paolo Caruccio
Maybe .web2py-menu li:nth-of-type(2) {padding:0;} Il giorno martedì 5 dicembre 2017 09:35:32 UTC+1, Annet ha scritto: > > Hi Paolo, > > Thanks for your reply. The problem is that the padding is on the item > not the btn one. > My menu is rendered as follows: > > >href="/init/default/sea

[web2py] Re: menu li > a padding in case of button

2017-12-05 Thread 'Annet' via web2py-users
Hi Paolo, Thanks for your reply. The problem is that the padding is on the item not the btn one. My menu is rendered as follows: class="fa fa-search" Log in >Open account The padding is on the second item which does not have a class I can reference in my css. Removing the paddin

[web2py] Re: menu li > a padding in case of button

2017-12-03 Thread Paolo Caruccio
To remove it, you could try following css rules in an external css file loaded after bootstrap css files .web2py-menu span.btn{padding:0;} Il giorno sabato 2 dicembre 2017 18:47:55 UTC+1, Annet ha scritto: > > I have the following menu: > > response.application_menu = [ > (CAT(I(_class="