Browse Source

update from mylene: fix the bug in profile modal view (not loading older posts).

master
Miguel Freitas 10 years ago
parent
commit
29238aa752
  1. 721
      theme_nin/css/style.css
  2. 15
      theme_nin/sass/_profile.sass

721
theme_nin/css/style.css

File diff suppressed because one or more lines are too long

15
theme_nin/sass/_profile.sass

@ -7,7 +7,7 @@ $modal-gut: 15px
$modal-postboard-height: $modal-height - 3*$modal-gut $modal-postboard-height: $modal-height - 3*$modal-gut
$modal-left-col: 400px $modal-left-col: 400px
$modal-right-col: ($modal-width - 2*$modal-gut) - $modal-left-col - $modal-gut $modal-right-col: ($modal-width - 2*$modal-gut) - $modal-left-col - $modal-gut
$modal-postboard-post-height: $modal-height - 45px
/************************************* /*************************************
******************* PROFILE MODAL ******************* PROFILE MODAL
@ -20,7 +20,7 @@ $modal-right-col: ($modal-width - 2*$modal-gut) - $modal-left-col - $modal-gut
position: absolute position: absolute
top: 50% top: 50%
+box-sizing(border-box) +box-sizing(border-box)
height: $modal-height height: $modal-height
margin: 0-($modal-height/2) 0 0 0-($modal-width/2) margin: 0-($modal-height/2) 0 0 0-($modal-width/2)
h3 h3
display: none display: none
@ -46,22 +46,24 @@ $modal-right-col: ($modal-width - 2*$modal-gut) - $modal-left-col - $modal-gut
.modal-content .modal-content
height: 100% height: 100%
overflow: hidden overflow: hidden
padding: 0 $modal-gut 0 0 padding: 0
position: relative
#profile-posts #profile-posts
padding: 0 padding: 0
.postboard .postboard
margin-left: 0 margin-left: 0
height: $modal-postboard-height height: 100%
bottom: 0 bottom: 0
position: relative position: relative
float: right float: right
width: $modal-right-col!important width: $modal-right-col!important
overflow: auto
.postboard-posts .postboard-posts
display: block display: block
height: $modal-postboard-post-height
overflow: auto
.postboard-posts .post .postboard-posts .post
padding: 0 padding: 0
.post-interactions .post-interactions
@ -263,4 +265,3 @@ $modal-right-col: ($modal-width - 2*$modal-gut) - $modal-left-col - $modal-gut
.selectable_theme.theme_calm .selectable_theme.theme_calm
display: none display: none

Loading…
Cancel
Save