From 15e1bf361b2bf11dcbf29ebe58cffa1ed3203818 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 1 Jun 2019 14:42:57 +0200 Subject: limit traininfo width on desktops --- public/static/default.css | 11 +++++++++-- public/static/v13 | 1 - public/static/v15 | 1 + templates/layouts/default.html.ep | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) delete mode 120000 public/static/v13 create mode 120000 public/static/v15 diff --git a/public/static/default.css b/public/static/default.css index d67ce35..6baaf49 100644 --- a/public/static/default.css +++ b/public/static/default.css @@ -189,14 +189,21 @@ div.app .moreinfo { font-size:2.1em; position:fixed; top:0em; - left:0em; - right:0em; + left:0; + right:0; bottom:0em; z-index: 5; overflow: auto; cursor: default; } +div.app .moreinfo .mheader, +div.app .moreinfo .mfooter { + max-width: 50em; + margin-left: auto; + margin-right: auto; +} + div.applight .moreinfo { background-color: #ffffff; } diff --git a/public/static/v13 b/public/static/v13 deleted file mode 120000 index 945c9b4..0000000 --- a/public/static/v13 +++ /dev/null @@ -1 +0,0 @@ -. \ No newline at end of file diff --git a/public/static/v15 b/public/static/v15 new file mode 120000 index 0000000..945c9b4 --- /dev/null +++ b/public/static/v15 @@ -0,0 +1 @@ +. \ No newline at end of file diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index a177a17..32928c9 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -17,7 +17,7 @@ % } - % my $av = 'v14'; # asset version + % my $av = 'v15'; # asset version %= stylesheet "/static/${av}/default.css" %= stylesheet "/static/${av}/jquery-ui.min.css" % my $force_mobile = param('force_mobile') // stash('force_mobile'); -- cgit v1.2.3