Always show vertical scroll bar to improve horizontal alignment

Signed-off-by: Graham <gpe@openrs2.org>
bzip2
Graham 4 years ago
parent 5f5e7e9c1e
commit 2411a16bc2
  1. 3
      archive/src/main/kotlin/org/openrs2/archive/web/WebServer.kt
  2. 3
      archive/src/main/resources/org/openrs2/archive/static/css/openrs2.css
  3. 1
      archive/src/main/resources/org/openrs2/archive/templates/caches/index.html
  4. 1
      archive/src/main/resources/org/openrs2/archive/templates/caches/show.html
  5. 1
      archive/src/main/resources/org/openrs2/archive/templates/index.html
  6. 1
      archive/src/main/resources/org/openrs2/archive/templates/layout.html

@ -5,6 +5,8 @@ import io.ktor.application.call
import io.ktor.application.install import io.ktor.application.install
import io.ktor.features.ContentNegotiation import io.ktor.features.ContentNegotiation
import io.ktor.http.ContentType import io.ktor.http.ContentType
import io.ktor.http.content.resources
import io.ktor.http.content.static
import io.ktor.jackson.JacksonConverter import io.ktor.jackson.JacksonConverter
import io.ktor.response.respond import io.ktor.response.respond
import io.ktor.routing.get import io.ktor.routing.get
@ -49,6 +51,7 @@ public class WebServer @Inject constructor(
get("/caches/{id}") { cachesController.show(call) } get("/caches/{id}") { cachesController.show(call) }
get("/caches/{id}.zip") { cachesController.export(call) } get("/caches/{id}.zip") { cachesController.export(call) }
get("/caches/{id}.json") { cachesController.exportKeys(call) } get("/caches/{id}.json") { cachesController.exportKeys(call) }
static("/static") { resources("/org/openrs2/archive/static") }
} }
}.start(wait = true) }.start(wait = true)
} }

@ -3,6 +3,7 @@
<head th:replace="layout.html :: head(title='Caches')"> <head th:replace="layout.html :: head(title='Caches')">
<title>Caches - OpenRS2 Archive</title> <title>Caches - OpenRS2 Archive</title>
<link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="/static/css/openrs2.css" />
</head> </head>
<body> <body>
<nav th:replace="layout.html :: nav(active='caches')"></nav> <nav th:replace="layout.html :: nav(active='caches')"></nav>

@ -3,6 +3,7 @@
<head th:replace="layout.html :: head(title='Cache')"> <head th:replace="layout.html :: head(title='Cache')">
<title>Cache - OpenRS2 Archive</title> <title>Cache - OpenRS2 Archive</title>
<link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="/static/css/openrs2.css" />
</head> </head>
<body> <body>
<nav th:replace="layout.html :: nav"></nav> <nav th:replace="layout.html :: nav"></nav>

@ -3,6 +3,7 @@
<head th:replace="layout.html :: head"> <head th:replace="layout.html :: head">
<title>OpenRS2 Archive</title> <title>OpenRS2 Archive</title>
<link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="/static/css/openrs2.css" />
</head> </head>
<body> <body>
<nav th:replace="layout.html :: nav"></nav> <nav th:replace="layout.html :: nav"></nav>

@ -4,6 +4,7 @@
<!--/*@thymesVar id="title" type="java.lang.String"*/--> <!--/*@thymesVar id="title" type="java.lang.String"*/-->
<title th:text="${title}? ${title} + ' - OpenRS2 Archive' : 'OpenRS2 Archive'">OpenRS2 Archive</title> <title th:text="${title}? ${title} + ' - OpenRS2 Archive' : 'OpenRS2 Archive'">OpenRS2 Archive</title>
<link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" href="/webjars/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="/static/css/openrs2.css" />
</head> </head>
<body> <body>
<nav class="navbar navbar-dark navbar-expand bg-dark mb-4" th:fragment="nav"> <nav class="navbar navbar-dark navbar-expand bg-dark mb-4" th:fragment="nav">

Loading…
Cancel
Save