diff --git a/portal.toml b/portal.toml index 3d4bb02..0f51a59 100644 --- a/portal.toml +++ b/portal.toml @@ -1,7 +1,7 @@ [server] host = "localhost" port = 8080 -prefix = "" +prefix = "/plan" debug = false [schedule] diff --git a/src/jsMain/resources/style/components/_form.scss b/src/jsMain/resources/style/components/_form.scss index 0bcaf31..eb242f5 100644 --- a/src/jsMain/resources/style/components/_form.scss +++ b/src/jsMain/resources/style/components/_form.scss @@ -130,6 +130,7 @@ select:-moz-focusring { display: inline-block; margin-right: 0.6rem; + margin-bottom: 0.5rem; border-radius: $border-radius; font-weight: 600; diff --git a/src/jvmMain/kotlin/de/kif/backend/view/MainTemplate.kt b/src/jvmMain/kotlin/de/kif/backend/view/MainTemplate.kt index 8444d8e..f96a52e 100644 --- a/src/jvmMain/kotlin/de/kif/backend/view/MainTemplate.kt +++ b/src/jvmMain/kotlin/de/kif/backend/view/MainTemplate.kt @@ -127,7 +127,7 @@ suspend fun PipelineContext.respondMain( body: MainTemplate.(Theme) -> Unit ) { val param = call.request.queryParameters["theme"] - val url = call.request.uri.substring(1 + prefix.length) + val url = call.request.uri.drop(1 + prefix.length) val user = call.sessions.get()?.getUser(call) if (param != null) {