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"
|
- title "Photo"
|
||||||
|
|
||||||
= image_tag @photo.image.url
|
#show_photo
|
||||||
|
= image_tag @photo.image.url
|
||||||
|
|
||||||
%h4= "comments (#{@photo.comments.count})"
|
%h4= "comments (#{@photo.comments.count})"
|
||||||
= render "comments/comments", :post => @photo
|
= render "comments/comments", :post => @photo
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ a {
|
||||||
a:hover {
|
a:hover {
|
||||||
color: #018790; }
|
color: #018790; }
|
||||||
|
|
||||||
img {
|
#show_photo img {
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
|
|
||||||
#flash_notice,
|
#flash_notice,
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,7 @@ a
|
||||||
:font-weight bold
|
:font-weight bold
|
||||||
&:hover
|
&:hover
|
||||||
:color #018790
|
:color #018790
|
||||||
img
|
|
||||||
:width 100%
|
|
||||||
|
|
||||||
#flash_notice,
|
#flash_notice,
|
||||||
#flash_error,
|
#flash_error,
|
||||||
|
|
@ -272,6 +271,11 @@ li.comment > img.person_picture
|
||||||
&:first-child
|
&:first-child
|
||||||
:margin-right 1em
|
:margin-right 1em
|
||||||
|
|
||||||
|
#show_photo
|
||||||
|
img
|
||||||
|
:width 100%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#debug_info
|
#debug_info
|
||||||
:margin-top 20px
|
:margin-top 20px
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue