From 58394d83abef19c9138c156928116d6749852609 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Mon, 19 Jun 2017 18:22:44 -0700 Subject: [PATCH] increased height of new post text area and include char count issue #8 --- src/pages/stream/stream.scss | 5 +++++ src/pages/stream/stream.ts | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/pages/stream/stream.scss b/src/pages/stream/stream.scss index e72322f..f7c0e62 100644 --- a/src/pages/stream/stream.scss +++ b/src/pages/stream/stream.scss @@ -9,3 +9,8 @@ page-stream { border-radius: 0; } } +modal-newpost { + .row { + align-items: center; + } +} diff --git a/src/pages/stream/stream.ts b/src/pages/stream/stream.ts index 8a9193d..82e0504 100644 --- a/src/pages/stream/stream.ts +++ b/src/pages/stream/stream.ts @@ -39,8 +39,6 @@ export class StreamPage { } pnut.user('me').then(res => { this.myUsername = res.data.username; - console.log('-- check --'); - console.log(this.myUsername); }).catch(err => { console.log(err); }); @@ -164,6 +162,7 @@ export class StreamPage { @Component({ // templateUrl: 'new-post.html' + selector: 'modal-newpost', template: ` @@ -183,10 +182,11 @@ export class StreamPage { - + +
{{254 - ptext.length}}