mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-17 03:05:19 +00:00
Merge pull request #5676 from Simounet/fix/style-row-card-regression
This commit is contained in:
commit
4b32192178
7 changed files with 17 additions and 17 deletions
|
@ -6,11 +6,6 @@ main {
|
||||||
#content {
|
#content {
|
||||||
padding: 0 0.5rem;
|
padding: 0 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row {
|
|
||||||
margin: 0.4rem 0 0;
|
|
||||||
padding: 0 0.75rem;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin mixin-reading-time {
|
@mixin mixin-reading-time {
|
||||||
|
@ -32,11 +27,6 @@ main {
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
display: flex;
|
|
||||||
margin: 0;
|
|
||||||
height: 100%;
|
|
||||||
flex-direction: column;
|
|
||||||
|
|
||||||
.card-content {
|
.card-content {
|
||||||
padding-bottom: 12px;
|
padding-bottom: 12px;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
@ -324,11 +314,21 @@ a.original:not(.waves-effect) {
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row {
|
.entries-row {
|
||||||
display: grid;
|
display: grid;
|
||||||
|
margin: 0.4rem 0 0;
|
||||||
|
padding: 0 0.75rem;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.entry-card {
|
||||||
|
display: flex;
|
||||||
|
margin: 0;
|
||||||
|
height: 100%;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.tools {
|
.tools {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
========================================================================== */
|
========================================================================== */
|
||||||
|
|
||||||
@media only screen and (min-width: 450px) {
|
@media only screen and (min-width: 450px) {
|
||||||
.row {
|
.entries-row {
|
||||||
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
|
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-body">
|
||||||
<div class="card-fullimage">
|
<div class="card-fullimage">
|
||||||
<ul class="card-entry-labels">
|
<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-body">
|
||||||
<div class="card-image waves-effect waves-block waves-light">
|
<div class="card-image waves-effect waves-block waves-light">
|
||||||
<ul class="card-entry-labels">
|
<ul class="card-entry-labels">
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% 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 %}
|
{% 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">
|
<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