mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
post/categories/"category" view fix
This commit is contained in:
parent
250fadf51d
commit
526e1a110f
@ -1,5 +1,18 @@
|
||||
{% block styles %}
|
||||
{{ asset_style("visiosoft.theme.base::css/post.scss") }}
|
||||
<style>
|
||||
.container{
|
||||
max-width: 100% !important;
|
||||
}
|
||||
.new-img-height{
|
||||
height: 300px ;
|
||||
}
|
||||
|
||||
.news-cover-img-wrapper {
|
||||
padding: 20px;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
<div class="row mt-2 mb-4 px-0">
|
||||
<div class="d-flex justify-content-between ml-auto align-items-center mb-2">
|
||||
@ -12,9 +25,6 @@
|
||||
{% if entries('posts','types').findBySlug('default') %}
|
||||
{% set posts = entries('posts').type('default').live().limit(4).get() %}
|
||||
{% for post in posts %}
|
||||
|
||||
|
||||
|
||||
<div class="col-4 mt-2">
|
||||
<div class="px-2">
|
||||
<div
|
||||
@ -41,16 +51,3 @@
|
||||
{{ trans('visiosoft.theme.base::field.all_news') }}
|
||||
</a>
|
||||
</div>
|
||||
<style>
|
||||
.container{
|
||||
max-width: 100% !important;
|
||||
}
|
||||
.new-img-height{
|
||||
height: 300px ;
|
||||
}
|
||||
|
||||
.news-cover-img-wrapper {
|
||||
padding: 20px;
|
||||
color: black;
|
||||
}
|
||||
</style>
|
||||
Loading…
Reference in New Issue
Block a user