π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Fix css props order
Smaug67392260e0714647
diff --git a/frontend/app/components/AppSelect.vue b/frontend/app/components/AppSelect.vueindex 8e6a2b04..5af9946b 100644--- a/frontend/app/components/AppSelect.vue+++ b/frontend/app/components/AppSelect.vue@@ -1,6 +1,6 @@<template><div class="app-select" :style="{ width: size || '100%' }">- <div v-if="!open" style="display: flex; align-items: center; justify-content: space-between; padding: 1px">+ <div v-if="!open" style="display: flex; padding: 1px; align-items: center; justify-content: space-between"><button @click.stop="toggleDropdown">{{ selected?.label || placeholder }}</button><svg :class="{ rotated: !open }" xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z" />diff --git a/frontend/app/components/DocumentCard.vue b/frontend/app/components/DocumentCard.vueindex caa84910..1d6a085e 100644--- a/frontend/app/components/DocumentCard.vue+++ b/frontend/app/components/DocumentCard.vue@@ -62,11 +62,11 @@ const deleteDoc = () => useModal().add(new Modal(shallowRef(DeleteDocumentModal)}.category-icon {+ width: 30px;+ height: 30px;padding: 6px;border-radius: 6px;margin-right: 10px;- width: 30px;- height: 30px;}.document-title {diff --git a/frontend/app/components/DocumentLine.vue b/frontend/app/components/DocumentLine.vueindex 17359f7b..a8a08aae 100644--- a/frontend/app/components/DocumentLine.vue+++ b/frontend/app/components/DocumentLine.vue@@ -47,11 +47,11 @@ header {}.category-icon {+ width: 30px;+ height: 30px;padding: 6px;border-radius: 6px;margin-right: 5px;- width: 30px;- height: 30px;}.document-title {diff --git a/frontend/app/components/Icon.vue b/frontend/app/components/Icon.vueindex ed3e3df8..6235af44 100644--- a/frontend/app/components/Icon.vue+++ b/frontend/app/components/Icon.vue@@ -12,11 +12,11 @@ const icon = computed(() => useIcon(props.name as IconName) || props.name);<style scoped lang="scss">.icon {display: flex;- align-items: center;width: 20px;- height: 20px;max-width: 100%;+ height: 20px;max-height: 100%;+ align-items: center;&:deep(svg) {width: 100%;diff --git a/frontend/app/components/Sidebar/SidebarItem.vue b/frontend/app/components/Sidebar/SidebarItem.vueindex cc4282a1..3afdb854 100644--- a/frontend/app/components/Sidebar/SidebarItem.vue+++ b/frontend/app/components/Sidebar/SidebarItem.vue@@ -104,6 +104,7 @@ const drop = async (event: DragEvent) => {<style scoped lang="scss">.item {display: flex;+ width: 100%;margin: 2.5px 0;padding: 1px 4px;border-radius: 6px;@@ -113,7 +114,7 @@ const drop = async (event: DragEvent) => {cursor: pointer;justify-content: flex-start;letter-spacing: -0.4px;- width: 100%;+&:hover,&:has(.router-link-exact-active:not(.nav)) {background: var(--bg-contrast-2);@@ -133,10 +134,10 @@ const drop = async (event: DragEvent) => {}.item-icon {- padding: 2px;- border-radius: 4px;width: 20px;height: 20px;+ padding: 2px;+ border-radius: 4px;}}diff --git a/frontend/app/styles/markdown.scss b/frontend/app/styles/markdown.scssindex 00ef69f9..8105bd8d 100644--- a/frontend/app/styles/markdown.scss+++ b/frontend/app/styles/markdown.scss@@ -116,9 +116,9 @@.checkbox-container {display: flex;+ padding: 0;align-items: center;justify-content: flex-start;- padding: 0;}.checkbox-container input[type="checkbox"] {