Revert hidden shell cleanup (#19059)
This commit is contained in:
parent
b2444d032d
commit
d46b54330e
3 changed files with 12 additions and 1 deletions
|
|
@ -11,6 +11,15 @@ body {
|
|||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
|
||||
&.hidden-shell {
|
||||
padding-top: 0 !important;
|
||||
|
||||
.crayons-header,
|
||||
.crayons-footer {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.user-tags-followed-0,
|
||||
&.user-tags-followed-1,
|
||||
&.user-tags-followed-2 {
|
||||
|
|
|
|||
|
|
@ -22,6 +22,9 @@
|
|||
if (navigator.userAgent === 'DEV-Native-ios') {
|
||||
document.body.classList.add("dev-ios-native-body");
|
||||
}
|
||||
if (window.frameElement) { // Hide top bar and footer when loaded within iframe
|
||||
document.body.classList.add("hidden-shell");
|
||||
}
|
||||
if (userString && userString.length > 0) {
|
||||
const user = JSON.parse(userString)
|
||||
const numTags = JSON.parse(user.followed_tags).length
|
||||
|
|
|
|||
|
|
@ -76,7 +76,6 @@
|
|||
</div>
|
||||
<%= render "layouts/top_bar" %>
|
||||
<div id="active-broadcast" class="broadcast-wrapper"></div>
|
||||
<div id="message-notice"></div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if Settings::General.payment_pointer.present? %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue