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="fa fa-search")), False, URL('default', 'search')),
> (CAT(SPAN('Log in', _class="btn btn-primary")), False, URL('com',
> 'default', 'user', args='login', scheme=SECURESCHEME, host=COMDOMAIN)),
> (CAT(SPAN('Open account', _class="btn btn-success")), False,
> URL('default', 'static', args='account')),
> ]
>
> I'd like to remove the padding on li > a which encloses the span selector.
>
>
> Kind regards,
>
> Annet
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.