Uniformize bio style between Hall and Game
[vchess.git] / client / src / components / UserBio.vue
index eed423a..b8a2d41 100644 (file)
@@ -94,6 +94,7 @@ export default {
       else if (this.modeEdit) this.adjustHeight();
     },
     sendBio: function() {
+      this.modeEdit = false;
       ajax(
         "/userbio",
         "PUT",
@@ -126,10 +127,13 @@ export default {
   max-width: 500px
   max-height: 100%
 
-.buttons > button
-  margin-bottom: 0
+.buttons
+  text-align: center
+  & > button
+    margin-bottom: 0
 
 h3
+  text-align: center
   margin-bottom: 5px
 
 textarea