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;
|
||||
right: 33%;
|
||||
}
|
||||
.content.misc-page.columns .col {
|
||||
.content.misc-page.columns .col, .site-profile-padding {
|
||||
padding: 25px 30px 30px 30px;
|
||||
position: relative;
|
||||
overflow:hidden;
|
||||
}
|
||||
.content.misc-page.columns .col-66 {
|
||||
width: 67%;
|
||||
left: 33%;
|
||||
}
|
||||
.site-profile .content.misc-page.columns .col-66 {
|
||||
padding: 0;
|
||||
}
|
||||
.content.misc-page.columns .col-33 {
|
||||
width: 33%;
|
||||
left: 33%;
|
||||
|
@ -806,9 +808,9 @@ a.tag:hover {
|
|||
.post-comment {
|
||||
background: #DAEEA5;
|
||||
float: left;
|
||||
width: 111%;
|
||||
width: 100%;
|
||||
padding: 20px 0 10px 30px;
|
||||
margin: -25px 0 28px -30px;
|
||||
margin: 0 0 28px 0;
|
||||
}
|
||||
.post-comment input {
|
||||
width: 84%;
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="container site-profile">
|
||||
<div class="content misc-page columns right-col"><div class="col-left">
|
||||
<div class="col col-66">
|
||||
<% if current_site && site.profile_comments_enabled %>
|
||||
|
@ -80,7 +80,7 @@
|
|||
<% end %>
|
||||
|
||||
<% if @latest_events.empty? %>
|
||||
<div>
|
||||
<div class="site-profile-padding">
|
||||
<p>No recent activity.</p>
|
||||
<% if current_site && site.owned_by?(parent_site) %>
|
||||
<p>
|
||||
|
@ -90,9 +90,8 @@
|
|||
</div>
|
||||
<%== erb :'_news', layout: false, locals: {site: @site, events: @latest_events} %>
|
||||
<% 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 %>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col col-33">
|
||||
|
|
Loading…
Add table
Reference in a new issue