From 6101ac76fe1d31ed24cb20801d6e1e489d556886 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Wed, 21 Oct 2020 10:02:38 +0200 Subject: [PATCH] fix routing on app load --- appinfo/routes.php | 4 ++++ src/components/Table.vue | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/appinfo/routes.php b/appinfo/routes.php index 9db09fa..3292707 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -28,6 +28,10 @@ return [ ], 'routes' => [ ['name' => 'page#index', 'url' => '/', 'verb' => 'GET'], + ['name' => 'page#index', 'url' => '/top', 'verb' => 'GET', 'postfix' => 'top'], + ['name' => 'page#index', 'url' => '/recent', 'verb' => 'GET', 'postfix' => 'recent'], + ['name' => 'page#index', 'url' => '/favorites', 'verb' => 'GET', 'postfix' => 'favorites'], + ['name' => 'page#index', 'url' => '/categories', 'verb' => 'GET', 'postfix' => 'categories'], ['name' => 'radio_api#preflighted_cors', 'url' => '/api/0.1/{path}', 'verb' => 'OPTIONS', 'requirements' => ['path' => '.+']] ] diff --git a/src/components/Table.vue b/src/components/Table.vue index 2805ec2..26e5028 100644 --- a/src/components/Table.vue +++ b/src/components/Table.vue @@ -101,6 +101,11 @@ table { width: 100%; } + th:first-child { + padding: 0px; + width: 72px; + } + } tbody {