Fix mobile align in post and comments

This commit is contained in:
Fabiano Alencar 2018-03-29 12:22:19 -03:00
parent 3ab90fa0bc
commit e7e8687aa0
5 changed files with 13 additions and 5 deletions

View File

@ -17,7 +17,7 @@
width: 45vw;
}
@media (max-width: 576px){
width: 90vw;
width: 80vw;
}
}
}

View File

@ -1,5 +1,9 @@
.tainacan-single-post{
@media screen {
@media (min-width: 992px) {
padding: 0 1rem 0 2rem;
}
}
article{
header{
.header-meta{

View File

@ -106,8 +106,12 @@ form{
}
}
.tainacan-title{
@media screen {
@media (min-width: 992px) {
padding: 0 1rem 0 2rem;
}
}
}
@import "_comments";
@import "_list-post";

View File

@ -59,7 +59,7 @@ if (post_password_required()) {
</div>
<?php if (have_comments()) : ?>
<div class="row px-sm-4">
<div class="col col-sm-10 mt-4 list-comments mx-sm-auto pl-3">
<div class="col col-sm-10 mt-4 list-comments mx-sm-auto pl-sm-3">
<?php wp_list_comments('type=comment&callback=tainacan_Comments_Callback'); ?>
</div>
</div>

View File

@ -1,6 +1,6 @@
<article role="article" id="post_<?php the_ID()?>" <?php post_class()?>>
<header class="mb-4">
<div class="header-meta text-muted">
<div class="header-meta text-muted mb-3 mb-md-0">
<?php
_e('By', 'tainacan-theme');
echo ' ';