Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

πŸ› Removes empty header gap at top of workspace

Alicia Sykes986933cde8e0
diff --git a/src/views/Workspace.vue b/src/views/Workspace.vue
index 8877b1d7..a1849221 100644
--- a/src/views/Workspace.vue
+++ b/src/views/Workspace.vue
@@ -105,6 +105,11 @@ export default {
flex-direction: column;
}
+/* Collapse the header when it's empty, or only holds the floating nav */
+:global(#dashy.view-workspace > header:not(:has(> :not(.floating)))) {
+ padding: 0;
+}
+
.work-space {
flex: 1;
display: flex;