diff --git a/src/scripts/social.tag b/src/scripts/social.tag index f2b215e..1b25834 100644 --- a/src/scripts/social.tag +++ b/src/scripts/social.tag @@ -25,8 +25,8 @@ updateButton(_id, title) { if (_id == undefined) { _id = self.opts.postid; } - self.tweetHtml = ''; - self.fbHtml = '
'; + self.tweetHtml = ''; + self.fbHtml = '
'; self._id = _id; self.update(); } diff --git a/src/styles/riotblog.scss b/src/styles/riotblog.scss index bb8db34..8516bfe 100644 --- a/src/styles/riotblog.scss +++ b/src/styles/riotblog.scss @@ -40,8 +40,12 @@ html { -webkit-transform: translate3d(0, 0, 0) !important; transform : translate3d(0, 0, 0) !important; text-transform: capitalize; + display: block; + text-overflow: ellipsis !important; margin-top: 15px; max-width: 100%; + height: 68px !important; + overflow: hidden !important; margin: auto; font-weight: 400; color: black;