afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-10-22 03:45 pm

[dw-free] /manage/circle/add and /manage/circle/edit are too squished

[commit: http://hg.dwscoalition.org/dw-free/rev/fe2424d17822]

http://bugs.dwscoalition.org/show_bug.cgi?id=1957

Add more whitespace for clearer separation of columns.

Patch by [staff profile] denise.

Files modified:
  • htdocs/manage/circle/add.bml
--------------------------------------------------------------------------------
diff -r bc0cadcf3a7d -r fe2424d17822 htdocs/manage/circle/add.bml
--- a/htdocs/manage/circle/add.bml	Thu Oct 22 14:17:40 2009 +0000
+++ b/htdocs/manage/circle/add.bml	Thu Oct 22 15:44:46 2009 +0000
@@ -234,7 +234,7 @@
 
     # trust group buttons
     if ( $remote->can_trust( $u ) && @trust_groups ) {
-        $body .= "<div style='float: left; width: 49%'>";
+        $body .= "<div style='float: left; width: 45%; padding: 1em;'>";
         $body .= "<?p &nbsp;<br />";
         $body .= "$ML{'.groups.text1'} p?>\n";
         foreach my $group ( @trust_groups ) {
@@ -251,7 +251,7 @@
 
     # content filter buttons
     if ( $remote->can_watch( $u ) && @content_filters ) {
-        $body .= "<div style='float: left; width: 49%'><?p &nbsp;<br />";
+        $body .= "<div style='float: left; width: 45%; padding: 1em;'><?p &nbsp;<br />";
         $body .= "$ML{'.groups.reading'} p?>\n";
         my @sorted_content_filters = sort { $a->{sortorder} <=> $b->{sortorder} } @content_filters;
         foreach my $filter ( @sorted_content_filters ) {
--------------------------------------------------------------------------------