Solved! I made a small modification to the "row_buttons" class:

.web2py_grid .row_buttons a {
    line-height:20px;
    *margin-left:2px;* margin-right:2px; display:inline-block;
    padding:3px 5px 3px 5px;
}

On Tuesday, 18 February 2014 07:31:34 UTC-5, horridohobbyist wrote:
>
> I've applied a layout that I downloaded from web2py.com. The layout turns 
> the Edit and Delete buttons of SQLFORM.grid into textual links (anchors): 
>  "Edit" and "Delete". However, the two text labels run together like so: 
> "EditDelete". I'd like to put some space between them, ie "Edit   Delete".
>
> I tried doing this in the CSS:
>
> .buttontext {
>     padding: 5 px;
> }
>
> And it does give me the spacer. *But* this causes a scroll bar to appear 
> to the right of the grid!
>
> What's the right way to do what I'm trying to do?
>
> Thanks.
>

-- 
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/groups/opt_out.

Reply via email to