Fixes bug with 'like' popovers being cut off on the left (due to overflow:hidden) but requires min-height for new feed and site profile main content areas. Main problem is site profiles with short sidebars are now longer than they should be. Need better solution later.

This commit is contained in:
Victoria Wang 2014-10-27 18:23:24 -07:00
parent 6d3a6aa9e0
commit 84beecac20
2 changed files with 7 additions and 5 deletions

View file

@ -377,7 +377,6 @@
position: relative; position: relative;
clear: both; clear: both;
width: 100%; width: 100%;
overflow: hidden;
} }
.col-left { .col-left {
float: left; float: left;
@ -401,7 +400,6 @@
margin-top: 0; margin-top: 0;
} }
.right-col .col-left { .right-col .col-left {
background-color: white;
right: 33%; right: 33%;
} }
.content.misc-page.columns .col, .site-profile-padding { .content.misc-page.columns .col, .site-profile-padding {
@ -411,13 +409,19 @@
.content.misc-page.columns .col-66 { .content.misc-page.columns .col-66 {
width: 67%; width: 67%;
left: 33%; left: 33%;
background: white;
} }
.site-profile .content.misc-page.columns .col-66 { .site-profile .content.misc-page.columns .col-66 {
padding: 0; padding: 0;
min-height: 38em;
}
.news-feed .content.misc-page.columns .col-66 {
min-height: 56em;
} }
.content.misc-page.columns .col-33 { .content.misc-page.columns .col-33 {
width: 33%; width: 33%;
left: 33%; left: 33%;
float: right;
} }
.interior .header-Outro.with-columns { .interior .header-Outro.with-columns {
padding-top: 22px; padding-top: 22px;

View file

@ -19,12 +19,10 @@
</div> </div>
</div> </div>
<div class="container"> <div class="container news-feed">
<div class="content misc-page columns right-col"> <div class="content misc-page columns right-col">
<div class="col-left"> <div class="col-left">
<div class="col col-66"> <div class="col col-66">
<% if site.followings_dataset.count == 0 %> <% if site.followings_dataset.count == 0 %>
<div class="welcome"> <div class="welcome">
<h4>Welcome to your Neocities news feed!</h4> <h4>Welcome to your Neocities news feed!</h4>