From f882d44775464bc5539cc876dd14fe7de4939b91 Mon Sep 17 00:00:00 2001 From: DesertMermaid Date: Sat, 16 Nov 2024 10:43:18 -0800 Subject: [PATCH] Blah. --- src/views/ProjectsView.vue | 60 ++++++++--- src/views/ServersView.vue | 213 ++++++++++++++++++++++++++++--------- 2 files changed, 207 insertions(+), 66 deletions(-) diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index 4eea71b..3adb35d 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -44,31 +44,58 @@ @@ -139,7 +166,7 @@ export default { }, }, methods: { - filterByTag(tag) { + filterByTag(tag: string) { this.selectedTag = tag; }, closeFaqModal() { @@ -263,7 +290,9 @@ export default { border-radius: 8px; max-width: 600px; width: 90%; - text-align: left; + max-height: 80vh; /* Limits height to 80% of the viewport */ + overflow-y: auto; /* Enables vertical scrolling if content overflows */ + text-align: center; } .modal-content h2 { @@ -313,5 +342,4 @@ export default { .faq-button:hover { background: #74a8e0; } - diff --git a/src/views/ServersView.vue b/src/views/ServersView.vue index 64a6c0a..5d2388d 100644 --- a/src/views/ServersView.vue +++ b/src/views/ServersView.vue @@ -48,13 +48,15 @@

-

+

- Players Online: {{ modalData.playersOnline || 0 }} / {{ modalData.maxPlayers || 0 }} + Players Online: {{ displayPlayerCount }}

+

About

No description available.

+

Connection Instructions

@@ -66,22 +68,46 @@ {{ modalData.instructions.local }}

+ +

Installation Instructions

+

{{ modalData.installInstructions }}

+ Download Modpack -   - +