fix: refactor the flex
This commit is contained in:
parent
de927bd2a1
commit
dc69a7dfee
2 changed files with 2 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
|
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
|
||||||
<div class="card card-primary" id="post-<?php the_ID(); ?>">
|
<div class="card card-primary" id="post-<?php the_ID(); ?>">
|
||||||
<div class="card-header"><h1><?php the_title(); ?></h1></div>
|
<div class="card-header"><h1><?php the_title(); ?></h1></div>
|
||||||
<div class="article-meta">
|
<div class="flex-that mb">
|
||||||
<div class="article-category">
|
<div class="article-category">
|
||||||
<?php $category = get_the_category();
|
<?php $category = get_the_category();
|
||||||
echo"<a href= '" . esc_url( get_category_link( $category[0]->term_id ) ) . "' class='btn-small btn-info'><i class='fa fa-folder'></i> " . $category[0]->cat_name . "</a>"; ?>
|
echo"<a href= '" . esc_url( get_category_link( $category[0]->term_id ) ) . "' class='btn-small btn-info'><i class='fa fa-folder'></i> " . $category[0]->cat_name . "</a>"; ?>
|
||||||
|
|
|
@ -11,10 +11,9 @@
|
||||||
|
|
||||||
@import 'components/previews';
|
@import 'components/previews';
|
||||||
|
|
||||||
.article-meta, .article-nav {
|
.flex-that {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding-bottom: 1.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
strong.btn-fake {
|
strong.btn-fake {
|
||||||
|
|
Reference in a new issue