"New"-Buttons are now full width
This commit is contained in:
parent
5ff4f5eb46
commit
163aaf2384
1 changed files with 8 additions and 5 deletions
13
src/App.vue
13
src/App.vue
|
@ -25,21 +25,19 @@
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="column is-3">
|
<div class="column is-3">
|
||||||
<div class="buttons">
|
<a class="button is-success is-fullwidth button-bottom">
|
||||||
<a class="button is-success">
|
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="plus"/>
|
<icon icon="plus"/>
|
||||||
</span>
|
</span>
|
||||||
New Namespace
|
New Namespace
|
||||||
</a>
|
</a>
|
||||||
</div>
|
|
||||||
<aside class="menu">
|
<aside class="menu">
|
||||||
<p class="menu-label" v-if="loading">Loading...</p>
|
<p class="menu-label" v-if="loading">Loading...</p>
|
||||||
<template v-for="n in namespaces">
|
<template v-for="n in namespaces">
|
||||||
<p class="menu-label" :key="n.id">
|
<p class="menu-label" :key="n.id">
|
||||||
{{n.name}}
|
{{n.name}}
|
||||||
</p>
|
</p>
|
||||||
<router-link :to="{ name: 'newList', params: { id: n.id} }" class="button is-success" :key="n.id + 'newList'">
|
<router-link :to="{ name: 'newList', params: { id: n.id} }" class="button is-success is-fullwidth button-bottom" :key="n.id + 'newList'">
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<icon icon="list-ol"/>
|
<icon icon="list-ol"/>
|
||||||
</span>
|
</span>
|
||||||
|
@ -140,7 +138,7 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss" scoped>
|
||||||
/* Logout-icon */
|
/* Logout-icon */
|
||||||
.logout-icon {
|
.logout-icon {
|
||||||
padding-right: 2em !important;
|
padding-right: 2em !important;
|
||||||
|
@ -171,4 +169,9 @@
|
||||||
.menu-list a.router-link-active{
|
.menu-list a.router-link-active{
|
||||||
background: darken(#fff, 5%);
|
background: darken(#fff, 5%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* menu buttons */
|
||||||
|
.button-bottom {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue