fix: refactor the flex

This commit is contained in:
Kazhnuz 2021-01-01 00:04:27 +01:00
parent de927bd2a1
commit dc69a7dfee
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,7 @@
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<div class="card card-primary" id="post-<?php the_ID(); ?>">
<div class="card-header"><h1><?php the_title(); ?></h1></div>
<div class="article-meta">
<div class="flex-that mb">
<div class="article-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>"; ?>

View file

@ -11,10 +11,9 @@
@import 'components/previews';
.article-meta, .article-nav {
.flex-that {
display: flex;
justify-content: space-between;
padding-bottom: 1.5rem;
}
strong.btn-fake {