From 84beecac20df0e978af2819ab0ef48301af5ea76 Mon Sep 17 00:00:00 2001 From: Victoria Wang Date: Mon, 27 Oct 2014 18:23:24 -0700 Subject: [PATCH] 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. --- sass/_project-sass/_project-Main.scss | 8 ++++++-- views/home.erb | 4 +--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/sass/_project-sass/_project-Main.scss b/sass/_project-sass/_project-Main.scss index 0f2e6a17..c659180f 100644 --- a/sass/_project-sass/_project-Main.scss +++ b/sass/_project-sass/_project-Main.scss @@ -377,7 +377,6 @@ position: relative; clear: both; width: 100%; - overflow: hidden; } .col-left { float: left; @@ -401,7 +400,6 @@ margin-top: 0; } .right-col .col-left { - background-color: white; right: 33%; } .content.misc-page.columns .col, .site-profile-padding { @@ -411,13 +409,19 @@ .content.misc-page.columns .col-66 { width: 67%; left: 33%; + background: white; } .site-profile .content.misc-page.columns .col-66 { padding: 0; + min-height: 38em; +} +.news-feed .content.misc-page.columns .col-66 { + min-height: 56em; } .content.misc-page.columns .col-33 { width: 33%; left: 33%; + float: right; } .interior .header-Outro.with-columns { padding-top: 22px; diff --git a/views/home.erb b/views/home.erb index 074297ba..7c353d15 100644 --- a/views/home.erb +++ b/views/home.erb @@ -19,12 +19,10 @@ -
+
- - <% if site.followings_dataset.count == 0 %>

Welcome to your Neocities news feed!