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 <li> item 
> not the <span> btn one.
> My menu is rendered as follows:
>
> <ul class="web2py-menu web2py-menu-vertical">
>   <li class=""web2py-menu-first-item><a 
> href="/init/default/search"><i>class="fa fa-search"</i></a></li>
>   <li><a href="/com/default/ueser/login"><span class="btn btn-primary">Log 
> in</span></a></li>
>   <li class=""web2py-menu-last-item>><a 
> href="/init/default/static/account"><span class="btn btn-success">Open 
> account</span></a></li>
>  </ul>
>
>
> The padding is on the second <li> item which does not have a class I can 
> reference in my css.
> Removing the padding on the last <li> item is not an option for it renders 
> the item out of lign
> in case of a collapsed menu.
> Removing the padding on all <li> iyems is not an option either for I need 
> de padding on some
> <li> items.
>
> 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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to