mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-25 18:41:05 +00:00
Fix row and card style regressions
This commit is contained in:
parent
eb99cacf43
commit
d0cfdaf10e
7 changed files with 17 additions and 17 deletions
|
@ -6,11 +6,6 @@ main {
|
|||
#content {
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
|
||||
.row {
|
||||
margin: 0.4rem 0 0;
|
||||
padding: 0 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin mixin-reading-time {
|
||||
|
@ -32,11 +27,6 @@ main {
|
|||
}
|
||||
|
||||
.card {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
flex-direction: column;
|
||||
|
||||
.card-content {
|
||||
padding-bottom: 12px;
|
||||
flex-grow: 1;
|
||||
|
@ -324,11 +314,21 @@ a.original:not(.waves-effect) {
|
|||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
.row {
|
||||
.entries-row {
|
||||
display: grid;
|
||||
margin: 0.4rem 0 0;
|
||||
padding: 0 0.75rem;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.entry-card {
|
||||
display: flex;
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
|
||||
.tools {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
========================================================================== */
|
||||
|
||||
@media only screen and (min-width: 450px) {
|
||||
.row {
|
||||
.entries-row {
|
||||
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="card{% if currentRoute in routes and entry.isArchived %} archived{% endif %}">
|
||||
<div class="card entry-card{% if currentRoute in routes and entry.isArchived %} archived{% endif %}">
|
||||
<div class="card-body">
|
||||
<div class="card-fullimage">
|
||||
<ul class="card-entry-labels">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<div class="card{% if currentRoute in routes and entry.isArchived %} archived{% endif %}">
|
||||
<div class="card entry-card{% if currentRoute in routes and entry.isArchived %} archived{% endif %}">
|
||||
<div class="card-body">
|
||||
<div class="card-image waves-effect waves-block waves-light">
|
||||
<ul class="card-entry-labels">
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
</div>
|
||||
{% endif %}
|
||||
|
||||
<ol class="entries {% if listMode == 1 %}collection{% else %}row data{% endif %}">
|
||||
<ol class="entries {% if listMode == 1 %}collection{% else %}row entries-row data{% endif %}">
|
||||
|
||||
{% for entry in entries %}
|
||||
<li id="entry-{{ entry.id|e }}" class="{% if listMode != 0 %}col collection-item{% endif %} s12" data-entry-id="{{ entry.id|e }}" data-test="entry">
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue