aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhenium <rhenium@rhe.jp>2014-02-01 23:47:57 +0900
committerRhenium <rhenium@rhe.jp>2014-02-01 23:47:57 +0900
commit8027fba831124dfda008a57db6865c79b3d3a015 (patch)
tree1c8539aa6a022b2724401cdd89fdd21cbbc9a2cb
parent228a39114c9a5b97980a8b80a47d85575324d810 (diff)
downloadaclog-8027fba831124dfda008a57db6865c79b3d3a015.tar.gz
fix html of single tweet template
-rw-r--r--app/assets/stylesheets/tweets.css.sass2
-rw-r--r--app/views/tweets/_tweet.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/stylesheets/tweets.css.sass b/app/assets/stylesheets/tweets.css.sass
index 41e8e2c..a5a19c4 100644
--- a/app/assets/stylesheets/tweets.css.sass
+++ b/app/assets/stylesheets/tweets.css.sass
@@ -4,7 +4,7 @@
width: 572px
.tweet
margin: 15px 0
- .tweet
+ .content
overflow: hidden
background: #ffffff
border: 1px solid #c1c5cb
diff --git a/app/views/tweets/_tweet.html.haml b/app/views/tweets/_tweet.html.haml
index 875c9b8..374b4e9 100644
--- a/app/views/tweets/_tweet.html.haml
+++ b/app/views/tweets/_tweet.html.haml
@@ -1,6 +1,6 @@
.tweet
- unless authorized_to_show_user? tweet.user
- .tweet
+ .content
.left
.avatar
= image_tag "missing_profile_image.png", alt: "protected", title: "protected user"