diff --git a/layouts/client.vue b/layouts/client.vue index 3933aa7..6b3bfa1 100644 --- a/layouts/client.vue +++ b/layouts/client.vue @@ -10,23 +10,27 @@
- - - -
- - - +
+ + + +
+ + + + +
+
+
+
+ +
+ +
-
- -
- - -
@@ -42,7 +46,7 @@ import type { GuildResponse } from '~/types/interfaces'; const loading = useState("loading", () => false); -const joinServerButton = ref(); +const createButtonContainer = ref(); const api = useApi(); @@ -179,8 +183,8 @@ function createDropdown() { const dropdown = h(Dropdown, { options }); const div = document.createElement("div"); div.classList.add("dropdown", "destroy-on-click"); - if (joinServerButton.value) { - joinServerButton.value.appendChild(div); + if (createButtonContainer.value) { + createButtonContainer.value.appendChild(div); } else { document.body.appendChild(div); } @@ -239,6 +243,8 @@ function createDropdown() { #left-column { display: flex; flex-direction: column; + justify-content: space-between; + align-items: center; gap: .75em; padding-left: .25em; padding-right: .25em; @@ -248,9 +254,11 @@ function createDropdown() { background-color: var(--sidebar-background-color); } -#left-column-top { +#left-column-top, #left-column-bottom { display: flex; flex-direction: column; + justify-content: center; + align-items: center; gap: 1.5dvh; overflow-y: scroll; } @@ -279,8 +287,8 @@ function createDropdown() { padding-top: .5em; } -#join-server-button { - color: white; +#create-button { + color: var(--primary-color); background-color: transparent; border: none; cursor: pointer; @@ -289,7 +297,7 @@ function createDropdown() { display: inline-block; } -#join-server-icon { +#create-icon { float: left; } @@ -316,9 +324,6 @@ function createDropdown() { } #settings-menu { - position: absolute; - bottom: .25em; - color: var(--primary-color) }