Browse Source

Fix button height

sbkwgh 8 years ago
parent
commit
1c7c08daa2
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/components/routes/Start.vue

+ 4 - 4
src/components/routes/Start.vue

@@ -222,7 +222,7 @@
 					name: this.category.trim()
 				}).then(res => {
 					this.loading = false
-					this.$store.commit('addCategories', res.data.name)
+					this.$store.commit('addCategories', res.data)
 					this.categories.push(res.data.name)
 				}).catch(this.errorCallback)
 
@@ -273,9 +273,9 @@
 			margin: 0;
 			margin-right: 0.5rem;
 		}
-		button {
-			height: 1.9rem;
-			padding: 0 0.5rem;
+		div.button {
+			height: 2rem;
+			padding: 0.25rem 0.5rem;
 		}
 	}