RS MS fail. totally made a new bug and fixed it re: resizing
This commit is contained in:
parent
d420652311
commit
453d2ee827
3 changed files with 9 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
- title "Photo"
|
||||
|
||||
= image_tag @photo.image.url
|
||||
#show_photo
|
||||
= image_tag @photo.image.url
|
||||
|
||||
%h4= "comments (#{@photo.comments.count})"
|
||||
= render "comments/comments", :post => @photo
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ a {
|
|||
a:hover {
|
||||
color: #018790; }
|
||||
|
||||
img {
|
||||
#show_photo img {
|
||||
width: 100%; }
|
||||
|
||||
#flash_notice,
|
||||
|
|
|
|||
|
|
@ -16,8 +16,7 @@ a
|
|||
:font-weight bold
|
||||
&:hover
|
||||
:color #018790
|
||||
img
|
||||
:width 100%
|
||||
|
||||
|
||||
#flash_notice,
|
||||
#flash_error,
|
||||
|
|
@ -272,6 +271,11 @@ li.comment > img.person_picture
|
|||
&:first-child
|
||||
:margin-right 1em
|
||||
|
||||
#show_photo
|
||||
img
|
||||
:width 100%
|
||||
|
||||
|
||||
|
||||
#debug_info
|
||||
:margin-top 20px
|
||||
|
|
|
|||
Loading…
Reference in a new issue