diff --git a/README.md b/README.md index c3a6f0759..8818e3224 100644 --- a/README.md +++ b/README.md @@ -98,6 +98,9 @@ logo: "assets/homer.png" header: true # Set to false to hide the header footer: '

Created with ❤️ with bulma, vuejs & font awesome // Fork me on

' # set false if you want to hide it. +columns: "3" # "auto" or number (must be a factor of 12: 1, 2, 3, 4, 6, 12) +connectivityCheck: true # whether you want to display a message when the apps are not accessible anymore (VPN disconnected for example) + # Optional theming theme: default # 'default' or one of the theme available in 'src/assets/themes'. diff --git a/src/App.vue b/src/App.vue index 62156d2ce..17c32143b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -68,7 +68,7 @@ v-for="item in group.items" :key="item.name" v-bind:item="item" - class="column is-one-third-widescreen" + :class="['column', `is-${12 / config.columns}`]" /> @@ -79,7 +79,7 @@ class="columns is-multiline layout-vertical" >
diff --git a/src/assets/defaults.yml b/src/assets/defaults.yml index b2960c9e6..99f5ed5b0 100644 --- a/src/assets/defaults.yml +++ b/src/assets/defaults.yml @@ -7,6 +7,7 @@ subtitle: "Homer" header: true footer: '

Created with ❤️ with bulma, vuejs & font awesome // Fork me on

' # set false if you want to hide it. +columns: 3 connectivityCheck: true theme: default