aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Braun <roger@rogerbraun.net>2016-11-06 20:11:23 +0100
committerRoger Braun <roger@rogerbraun.net>2016-11-06 20:11:23 +0100
commit1ae5223742415d69d3b6ec9fd46d04c85d8f787b (patch)
tree7b35922683b2fe804eff5e301f7b162a19e0a941
parentc9e235f8898c4f1c4c1c2d5111ad34b1dd4ffa10 (diff)
Add NavPanel to app.
-rw-r--r--src/App.js4
-rw-r--r--src/App.scss21
2 files changed, 3 insertions, 22 deletions
diff --git a/src/App.js b/src/App.js
index 3c677566..c3e5164a 100644
--- a/src/App.js
+++ b/src/App.js
@@ -1,9 +1,11 @@
import UserPanel from './components/user_panel/user_panel.vue'
+import NavPanel from './components/nav_panel/nav_panel.vue'
export default {
name: 'app',
components: {
- UserPanel
+ UserPanel,
+ NavPanel
},
computed: {
user () { return this.$store.state.users.currentUser || {} },
diff --git a/src/App.scss b/src/App.scss
index a4d87308..32e4a3eb 100644
--- a/src/App.scss
+++ b/src/App.scss
@@ -222,27 +222,6 @@ status.ng-enter.ng-enter-active {
cursor: pointer;
}
-nav-panel ul {
- list-style: none;
- margin: 0;
- padding: 0;
-}
-
-nav-panel li {
- border-bottom: 1px solid silver;
- padding: 0.5em;
- padding-left: 1em;
-}
-
-nav-panel li:last-child {
- border: none;
-}
-
-nav-panel a {
- display: block;
- width: 100%;
-}
-
.status-el p {
margin: 0;
margin-top: 0.2em;