mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Style improvements to site profile - no longer cuts off bottom of 'like' popover
This commit is contained in:
parent
ecd4312d72
commit
0fed9320f8
2 changed files with 9 additions and 8 deletions
|
@ -404,15 +404,17 @@
|
||||||
background-color: white;
|
background-color: white;
|
||||||
right: 33%;
|
right: 33%;
|
||||||
}
|
}
|
||||||
.content.misc-page.columns .col {
|
.content.misc-page.columns .col, .site-profile-padding {
|
||||||
padding: 25px 30px 30px 30px;
|
padding: 25px 30px 30px 30px;
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow:hidden;
|
|
||||||
}
|
}
|
||||||
.content.misc-page.columns .col-66 {
|
.content.misc-page.columns .col-66 {
|
||||||
width: 67%;
|
width: 67%;
|
||||||
left: 33%;
|
left: 33%;
|
||||||
}
|
}
|
||||||
|
.site-profile .content.misc-page.columns .col-66 {
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
.content.misc-page.columns .col-33 {
|
.content.misc-page.columns .col-33 {
|
||||||
width: 33%;
|
width: 33%;
|
||||||
left: 33%;
|
left: 33%;
|
||||||
|
@ -806,9 +808,9 @@ a.tag:hover {
|
||||||
.post-comment {
|
.post-comment {
|
||||||
background: #DAEEA5;
|
background: #DAEEA5;
|
||||||
float: left;
|
float: left;
|
||||||
width: 111%;
|
width: 100%;
|
||||||
padding: 20px 0 10px 30px;
|
padding: 20px 0 10px 30px;
|
||||||
margin: -25px 0 28px -30px;
|
margin: 0 0 28px 0;
|
||||||
}
|
}
|
||||||
.post-comment input {
|
.post-comment input {
|
||||||
width: 84%;
|
width: 84%;
|
||||||
|
|
|
@ -51,7 +51,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="container">
|
<div class="container site-profile">
|
||||||
<div class="content misc-page columns right-col"><div class="col-left">
|
<div class="content misc-page columns right-col"><div class="col-left">
|
||||||
<div class="col col-66">
|
<div class="col col-66">
|
||||||
<% if current_site && site.profile_comments_enabled %>
|
<% if current_site && site.profile_comments_enabled %>
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if @latest_events.empty? %>
|
<% if @latest_events.empty? %>
|
||||||
<div>
|
<div class="site-profile-padding">
|
||||||
<p>No recent activity.</p>
|
<p>No recent activity.</p>
|
||||||
<% if current_site && site.owned_by?(parent_site) %>
|
<% if current_site && site.owned_by?(parent_site) %>
|
||||||
<p>
|
<p>
|
||||||
|
@ -90,9 +90,8 @@
|
||||||
</div>
|
</div>
|
||||||
<%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %>
|
<%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div><%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %></div>
|
<div class="site-profile-padding"><%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %></div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col col-33">
|
<div class="col col-33">
|
||||||
|
|
Loading…
Add table
Reference in a new issue