[frio] Increase content space on <600px width devices

This commit is contained in:
Hypolite Petovan 2018-08-04 20:54:58 +02:00
parent 810c108297
commit 6cf5fd56e5
3 changed files with 65 additions and 17 deletions

View file

@ -1599,13 +1599,12 @@ aside .panel-body {
} }
.wwto .contact-photo { .wwto .contact-photo {
width: auto; width: auto;
height: 25px; height: 15px;
font-size: 8.8px; font-size: 8.8px;
padding: 3.6px 0;
border-radius: 2px; border-radius: 2px;
position: absolute; position: absolute;
top: 30px; top: 28px;
left: 30px; left: 28px;
display: inline-block; display: inline-block;
} }
@ -1869,7 +1868,6 @@ code > .hl-main {
border-radius: 3px; border-radius: 3px;
} }
.well hr { .well hr {
margin: 15px 0 10px;
border-top: 1px solid #d9d9d9; border-top: 1px solid #d9d9d9;
} }
.wall-entry .well { .wall-entry .well {
@ -2165,7 +2163,7 @@ ul.dropdown-menu li:hover {
.suggest-content-wrapper, .common-content-wrapper, .help-content-wrapper, .suggest-content-wrapper, .common-content-wrapper, .help-content-wrapper,
.allfriends-content-wrapper, .match-content-wrapper, .dirfind-content-wrapper, .allfriends-content-wrapper, .match-content-wrapper, .dirfind-content-wrapper,
.directory-content-wrapper, .manage-content-wrapper, .notes-content-wrapper, .directory-content-wrapper, .manage-content-wrapper, .notes-content-wrapper,
.message-content-wrapper, .apps-content-wrapper, .message-content-wrapper, .apps-content-wrapper,
#adminpage, .delegate-content-wrapper, .uexport-content-wrapper, #adminpage, .delegate-content-wrapper, .uexport-content-wrapper,
.viewcontacts-content-wrapper, .dfrn_request-content-wrapper, .viewcontacts-content-wrapper, .dfrn_request-content-wrapper,
.friendica-content-wrapper, .credits-content-wrapper, .nogroup-content-wrapper, .friendica-content-wrapper, .credits-content-wrapper, .nogroup-content-wrapper,
@ -3023,11 +3021,11 @@ section.help-content-wrapper li {
background-color: #f5f5f5; background-color: #f5f5f5;
} }
.offset-anchor::before { .offset-anchor::before {
display: block; display: block;
content: " "; content: " ";
margin-top: -100px; margin-top: -100px;
height: 100px; height: 100px;
visibility: hidden; visibility: hidden;
pointer-events: none; pointer-events: none;
} }
@ -3368,5 +3366,56 @@ section .profile-match-wrapper {
} }
/* Mobile display */
@media (max-width: 600px) {
body {
padding-top: 95px;
}
#friendica-logo-mask {
display: none;
}
.container {
padding-right: 0;
padding-left: 0;
}
.panel {
border-radius: 0;
margin-bottom: 5px;
}
.panel .panel-body {
padding: 10px;
}
.wall-spacer {
height: 0px;
}
.wall-item-actions {
margin-top: 10px;
}
.media {
margin-top: 0;
}
.nav-pills.preferences {
right: 10px;
}
.generic-page-wrapper, .profile_photo-content-wrapper, .videos-content-wrapper, .suggest-content-wrapper, .common-content-wrapper, .help-content-wrapper, .allfriends-content-wrapper, .match-content-wrapper, .dirfind-content-wrapper, .directory-content-wrapper, .manage-content-wrapper, .notes-content-wrapper, .message-content-wrapper, .apps-content-wrapper, #adminpage, .delegate-content-wrapper, .uexport-content-wrapper, .viewcontacts-content-wrapper, .dfrn_request-content-wrapper, .friendica-content-wrapper, .credits-content-wrapper, .nogroup-content-wrapper, .profperm-content-wrapper, .invite-content-wrapper, .tos-content-wrapper, .fsuggest-content-wrapper {
border-radius: 0;
padding: 10px;
}
.row {
margin-right: 0;
}
.col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xs-1, .col-xs-10, .col-xs-11, .col-xs-12, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9 {
padding-right: 0;
}
}

View file

@ -117,10 +117,7 @@
</h5> </h5>
</div> </div>
<div class="clearfix"></div> <hr class="clearfix" />
<hr />
{{* item content *}} {{* item content *}}
<div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}"> <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">

View file

@ -239,10 +239,12 @@ as the value of $top_child_total (this is done at the end of this file)
</div> </div>
{{/if}} {{/if}}
<div class="clearfix"></div>
{{* Insert Line to seperate item header and item content visually *}} {{* Insert Line to seperate item header and item content visually *}}
{{if $item.thread_level==1}}<hr />{{/if}} {{if $item.thread_level==1}}
<hr class="clearfix" />
{{else}}
<div class="clearfix"></div>
{{/if}}
{{* item content *}} {{* item content *}}
<div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}"> <div class="wall-item-content {{$item.type}}" id="wall-item-content-{{$item.id}}">