Customizable number of columns

This commit is contained in:
Bastien Wirtz 2020-06-09 21:54:13 -07:00
parent e9113b48ce
commit 9e4fe0d227
3 changed files with 6 additions and 2 deletions

View File

@ -98,6 +98,9 @@ logo: "assets/homer.png"
header: true # Set to false to hide the header
footer: '<p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a href="https://vuejs.org/">vuejs</a> & <a href="https://fontawesome.com/">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i class="fab fa-github-alt"></i></a></p>' # 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'.

View File

@ -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}`]"
/>
</template>
</div>
@ -79,7 +79,7 @@
class="columns is-multiline layout-vertical"
>
<div
class="column is-one-third-widescreen"
:class="['column', `is-${12 / config.columns}`]"
v-for="group in services"
:key="group.name"
>

View File

@ -7,6 +7,7 @@ subtitle: "Homer"
header: true
footer: '<p>Created with <span class="has-text-danger">❤️</span> with <a href="https://bulma.io/">bulma</a>, <a href="https://vuejs.org/">vuejs</a> & <a href="https://fontawesome.com/">font awesome</a> // Fork me on <a href="https://github.com/bastienwirtz/homer"><i class="fab fa-github-alt"></i></a></p>' # set false if you want to hide it.
columns: 3
connectivityCheck: true
theme: default