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!

πŸ› Fixes contentMaxWidth on ver/hor layout (#2134)

Alicia Sykes38f623792fa7
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 2f17e404..7e8099e7 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -220,13 +220,12 @@ export default {
}
}
&.orientation-horizontal, &.orientation-vertical, &.single-section-view {
- @include phone { --content-max-width: 100%; }
- @include tablet { --content-max-width: 98%; }
- @include laptop { --content-max-width: 90%; }
- @include monitor { --content-max-width: 85%; }
- @include big-screen { --content-max-width: 80%; }
- @include big-screen-up { --content-max-width: 60%; }
- max-width: var(--content-max-width, 90%);
+ @include phone { max-width: var(--content-max-width, 100%); }
+ @include tablet { max-width: var(--content-max-width, 98%); }
+ @include laptop { max-width: var(--content-max-width, 90%); }
+ @include monitor { max-width: var(--content-max-width, 85%); }
+ @include big-screen { max-width: var(--content-max-width, 80%); }
+ @include big-screen-up { max-width: var(--content-max-width, 60%); }
}
/* Specify number of columns, based on screen size or user preference */