Merge pull request #5553 from MrPetovan/task/improve-frio-mobile-display

[frio] Increase content space on <600px width devices
This commit is contained in:
Michael Vogel 2018-08-04 23:11:27 +02:00 committed by GitHub
commit 8ab661aaed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 71 additions and 16 deletions

View file

@ -1601,11 +1601,10 @@ aside .panel-body {
width: auto;
height: 25px;
font-size: 8.8px;
padding: 3.6px 0;
border-radius: 2px;
position: absolute;
top: 30px;
left: 30px;
top: 28px;
left: 28px;
display: inline-block;
}
@ -1869,7 +1868,6 @@ code > .hl-main {
border-radius: 3px;
}
.well hr {
margin: 15px 0 10px;
border-top: 1px solid #d9d9d9;
}
.wall-entry .well {
@ -2165,7 +2163,7 @@ ul.dropdown-menu li:hover {
.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,
.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,
@ -3023,11 +3021,11 @@ section.help-content-wrapper li {
background-color: #f5f5f5;
}
.offset-anchor::before {
display: block;
content: " ";
margin-top: -100px;
display: block;
content: " ";
margin-top: -100px;
height: 100px;
visibility: hidden;
visibility: hidden;
pointer-events: none;
}
@ -3368,5 +3366,63 @@ 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;
}
.wwto .contact-photo {
height: 19px;
padding: 0;
top: 24px;
left: 24px;
}
}

View file

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