little css improvement for admin pages

28 views
Skip to first unread message

Juraj Variny

unread,
Jul 18, 2012, 6:28:06 PM7/18/12
to turbogea...@googlegroups.com
Hi,

if admin system is used on tables with many columns, rightmost columns get cropped by browser and thus inaccessible. This fixes it by enabling scrolling:

--- a/devtools/templates/turbogears/+package+/public/css/admin.css
+++ b/devtools/templates/turbogears/+package+/public/css/admin.css
@@ -19,6 +19,9 @@ a.edit_link{
 }
 
 /* admin list view */
+.crud_table {
+    overflow : auto;
+}
 .crud_table .grid {
     border-collapse: collapse;
     border: 1px solid #ccc;

Regards,
Juraj

Alessandro Molina

unread,
Jul 19, 2012, 6:16:54 AM7/19/12
to turbogea...@googlegroups.com
Thank you,
would you mind forking the repository on bitbucket or similar so I can
pull your commit keeping informations about the author and the reason?

Thanks!
Alessandro
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears Trunk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears-trunk/-/5_N9SHh8HSIJ.
> To post to this group, send email to turbogea...@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears-tru...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/turbogears-trunk?hl=en.

Juraj Variny

unread,
Jul 20, 2012, 11:50:41 AM7/20/12
to turbogea...@googlegroups.com
Hello,

I'm lost, which repo on bitbucket should I fork? Tried also to fork git repo at sourceforge, get some error that my repo is empty... Or, you can just apply it without mentioning source, it's really trivial patch.

Juraj

Dňa štvrtok, 19. júla 2012 12:16:54 UTC+2 alessand...@axant.it napísal(-a):
Thank you,
would you mind forking the repository on bitbucket or similar so I can
pull your commit keeping informations about the author and the reason?

Thanks!
Alessandro

On Thu, Jul 19, 2012 at 12:28 AM, Juraj Variny <....@gmail.com> wrote:
> Hi,
>
> if admin system is used on tables with many columns, rightmost columns get
> cropped by browser and thus inaccessible. This fixes it by enabling
> scrolling:
>
> --- a/devtools/templates/turbogears/+package+/public/css/admin.css
> +++ b/devtools/templates/turbogears/+package+/public/css/admin.css
> @@ -19,6 +19,9 @@ a.edit_link{
>  }
>
>  /* admin list view */
> +.crud_table {
> +    overflow : auto;
> +}
>  .crud_table .grid {
>      border-collapse: collapse;
>      border: 1px solid #ccc;
>
> Regards,
> Juraj
>
> --
> You received this message because you are subscribed to the Google Groups
> "TurboGears Trunk" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/turbogears-trunk/-/5_N9SHh8HSIJ.
> To post to this group, send email to turbogears-trunk@googlegroups.com.
> To unsubscribe from this group, send email to
> turbogears-trunk+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages