diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-06-01 14:42:57 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-06-01 14:42:57 +0200 |
commit | 15e1bf361b2bf11dcbf29ebe58cffa1ed3203818 (patch) | |
tree | 2a5ba38b1f5d8987ca4980957b6320519e350976 | |
parent | aee1b1085042715ed42640449599ace441d854c9 (diff) |
limit traininfo width on desktops2.2.0
-rw-r--r-- | public/static/default.css | 11 | ||||
l--------- | public/static/v15 (renamed from public/static/v13) | 0 | ||||
-rw-r--r-- | templates/layouts/default.html.ep | 2 |
3 files changed, 10 insertions, 3 deletions
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/v15 index 945c9b4..945c9b4 120000 --- a/public/static/v13 +++ b/public/static/v15 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 @@ <meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/> % } - % 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'); |