styling update

This commit is contained in:
Dennis Postma 2024-05-03 20:50:50 +02:00
parent b4797365f5
commit b70c90351c
3 changed files with 7 additions and 5 deletions

View File

@ -7,7 +7,7 @@
<script setup lang="ts"> <script setup lang="ts">
import Game from '@/components/Game.vue' import Game from '@/components/Game.vue'
import Login from '@/components/screens/Login.vue' import Login from '@/components/screens/Login.vue'
import { onMounted, type Ref, ref } from 'vue' import { onMounted, onUnmounted, type Ref, ref } from 'vue'
import SocketioService from '@/services/socketio.service'; import SocketioService from '@/services/socketio.service';
const screen:Ref<string> = ref('login'); const screen:Ref<string> = ref('login');
@ -15,4 +15,8 @@ const screen:Ref<string> = ref('login');
onMounted(() => { onMounted(() => {
SocketioService.setupSocketConnection(); SocketioService.setupSocketConnection();
}); });
onUnmounted(() => {
SocketioService.disconnect();
});
</script> </script>

View File

@ -41,7 +41,6 @@
color: #000; color: #000;
background-color: rgba(255, 255, 255, 0.5); background-color: rgba(255, 255, 255, 0.5);
padding: 0.25rem 0.5rem; padding: 0.25rem 0.5rem;
font-weight: 600;
font-size: 0.875rem; font-size: 0.875rem;
} }
input { input {
@ -64,11 +63,11 @@
gap: 0.5rem; gap: 0.5rem;
.button { .button {
padding: 0.875rem 0; padding: 1rem 0;
min-width: 6.25rem; min-width: 6.25rem;
text-align: center; text-align: center;
position: relative; position: relative;
font-size: 0.875rem; font-size: 0.80rem;
p { p {
margin: auto; margin: auto;

View File

@ -6,7 +6,6 @@
body { body {
-ms-overflow-style: none; -ms-overflow-style: none;
scrollbar-width: none; scrollbar-width: none;
background: black; background: black;
} }