summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/style.css4
-rwxr-xr-xutil/jsgen.pl2
2 files changed, 3 insertions, 3 deletions
diff --git a/data/style.css b/data/style.css
index 9053bbdd..b3495853 100644
--- a/data/style.css
+++ b/data/style.css
@@ -334,14 +334,14 @@ h1.boxtitle, h1.boxtitle a {
/***** VN page *******/
-div.vndetails { margin: 0 auto; width: 800px; }
+div.vndetails { margin: 0 auto; max-width: 770px; }
div.vnimg { float: left; width: 250px; margin: 0 10px; }
div.vnimg i { display: block; width: 100%; text-align: center; font-size: 10px; }
div.vnimg p { text-align: center; padding: 0px; margin: 0; }
.vndesc h2 { margin: 5px 0 0 0; }
.vndesc p { padding: 0 0 0 5px; }
p#nsfw_hid { display: block; cursor: pointer; }
-div.vndetails table { float: left; width: 530px; }
+div.vndetails table { float: left; width: 500px; }
div.vndetails table td.key { width: 80px; }
div.vndetails table dt { float: left; font-style: italic; }
div.vndetails table dd { margin-left: 90px; }
diff --git a/util/jsgen.pl b/util/jsgen.pl
index cf2c5638..8317f86f 100755
--- a/util/jsgen.pl
+++ b/util/jsgen.pl
@@ -38,7 +38,7 @@ sub vars {
age_ratings => [ map [ $_, $_ == -1 ? 'Unknown' : $_ == 0 ? 'All ages' : "$_+" ], @{$S{age_ratings}} ],
languages => [ map [ $_, $S{languages}{$_} ], keys %{$S{languages}} ],
platforms => [ map [ $_, $S{platforms}{$_} ], keys %{$S{platforms}} ],
- char_roles => [ map [ $_, $S{char_roles}{$_} ], keys %{$S{char_roles}} ],
+ char_roles => [ map [ $_, $S{char_roles}{$_}[0] ], keys %{$S{char_roles}} ],
media => [ map [ $_, $S{media}{$_}[1], $S{media}{$_}[0] ], keys %{$S{media}} ],
release_types => [ map [ $_, ucfirst $_ ], @{$S{release_types}} ],
animated => [ map [ $_, $S{animated}[$_] ], 0..$#{$S{animated}} ],