diff --git a/.env b/.env index f845f3a..bdab563 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ VITE_API_URL="https://stacjownik.spythere.eu" VITE_API_URL_DEV="http://localhost:3001" -VITE_API_MODE="PROD" \ No newline at end of file +VITE_API_MODE="DEV" \ No newline at end of file diff --git a/package.json b/package.json index 03b18eb..190eb24 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "station-manager-2.0", "private": true, - "version": "2.3.0", + "version": "2.3.1", "type": "module", "scripts": { "dev": "vite", diff --git a/src/App.vue b/src/App.vue index 64c9913..07a7acd 100644 --- a/src/App.vue +++ b/src/App.vue @@ -147,6 +147,7 @@ button { /* width */ ::-webkit-scrollbar { width: 7px; + height: 7px; } /* Track */ @@ -154,6 +155,11 @@ button { background: #333; } +/* Corner */ +::-webkit-scrollbar-corner { + background: #333; +} + /* Handle */ ::-webkit-scrollbar-thumb { background: #888; diff --git a/src/mixins/routesMixin.ts b/src/mixins/routesMixin.ts index 7b52f0e..1cad6f1 100644 --- a/src/mixins/routesMixin.ts +++ b/src/mixins/routesMixin.ts @@ -9,11 +9,9 @@ export default defineComponent({ // !Oc_2EPB return `${ route.isInternal ? '' + route.routeName + '' : route.routeName - } (${route.routeTracks}/${route.isElectric ? 'E' : 'N'}/${ - route.isRouteSBL ? 'S' : 'P' - })`; + } (${route.routeTracks}/${route.isElectric ? 'E' : 'N'}/${route.isRouteSBL ? 'S' : 'P'})`; }) - .join(', '); + .join(' '); }, }, }); diff --git a/src/views/ManagerView.vue b/src/views/ManagerView.vue index 21609d5..9174bc6 100644 --- a/src/views/ManagerView.vue +++ b/src/views/ManagerView.vue @@ -17,7 +17,7 @@ - + URL URL @@ -181,9 +181,6 @@ table { color: white; position: relative; border-collapse: collapse; - - width: 100%; - min-width: 1800px; } table thead { @@ -202,12 +199,18 @@ table th { table tr { background-color: #2c394b; transition: background-color 100ms; + text-overflow: ellipsis; } table tr.current { outline: 1px solid white; } +table td.routes { + font-size: 0.9em; + min-width: 150px; +} + table tr:nth-child(even) { background-color: #334756; }