summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-04 16:38:10 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-04 16:38:10 +0000
commit99e1ce07d1ecc574f8d3262ac398e78acaa5ce3d (patch)
tree3a41be8339d8b2a7b7988fb510172b43a3f47aaa
parent581d9ea9255a70f1fb1a4f62563bcdd41f99b1ea (diff)
downloadcontrol-center-99e1ce07d1ecc574f8d3262ac398e78acaa5ce3d.tar
control-center-99e1ce07d1ecc574f8d3262ac398e78acaa5ce3d.tar.gz
control-center-99e1ce07d1ecc574f8d3262ac398e78acaa5ce3d.tar.bz2
control-center-99e1ce07d1ecc574f8d3262ac398e78acaa5ce3d.tar.xz
control-center-99e1ce07d1ecc574f8d3262ac398e78acaa5ce3d.zip
better margin between tables & subtitles
-rwxr-xr-xcontrol-center11
1 files changed, 8 insertions, 3 deletions
diff --git a/control-center b/control-center
index 9701ea2b..81977aca 100755
--- a/control-center
+++ b/control-center
@@ -1391,7 +1391,12 @@ foreach (@tree) {
td {text-align: $align}
h3 {text-align: $align; color: gray }
.subtitle { color: gray }
- tr {text-align: $align}),
+ tr {text-align: $align}
+ td {
+ margin-left: 10px;
+ margin-right: 10px;
+ }
+),
if_(lang::text_direction_rtl(), " a { direction: rtl; unicode-bidi: embed }"), qq(
a:link {color:black; text-decoration:none }
a:visited {color:black; text-decoration:none }
@@ -1423,7 +1428,7 @@ foreach (@tree) {
foreach my $subtree (@subtrees) {
$string .= qq(
<h3>$subtree->{title}</h3>
-<TABLE BORDER=0 cellspacing="20" WIDTH="100%">
+<TABLE BORDER=0 WIDTH="100%" style="margin-bottom: 40px">
);
if (@{$subtree->{list}} % 2) {
my @widgets = (pop @{$subtree->{list}}, "");
@@ -1453,7 +1458,7 @@ $programs{$label}{long_description}</A></TD>)
);
@widgets = reverse @widgets if lang::text_direction_rtl();
qq(<TD WIDTH="49%">
-<TABLE cellspacing="5" align="$align2"><TR>
+<TABLE align="$align2"><TR>
@widgets
</TR></TABLE></TD>
);