style: app spacing, color adjustments
This commit is contained in:
parent
d4bc2755bc
commit
aa271c8050
1 changed files with 8 additions and 25 deletions
|
@ -61,11 +61,6 @@ export interface Props {
|
||||||
const link = document.createElement('a');
|
const link = document.createElement('a');
|
||||||
|
|
||||||
let responseText;
|
let responseText;
|
||||||
|
|
||||||
/**
|
|
||||||
* TODO: determine when & how to revalidate
|
|
||||||
*/
|
|
||||||
|
|
||||||
const fullResponse = await cache.match(url)
|
const fullResponse = await cache.match(url)
|
||||||
if (!fullResponse && url.slice(0, url.length - 1) !== baseUrl && !skipSave && !includesAppURL) {
|
if (!fullResponse && url.slice(0, url.length - 1) !== baseUrl && !skipSave && !includesAppURL) {
|
||||||
logInfo('updating cached', {context: 'cozy-reader', data: url})
|
logInfo('updating cached', {context: 'cozy-reader', data: url})
|
||||||
|
@ -136,14 +131,13 @@ export interface Props {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#post-list {
|
#post-list {
|
||||||
margin: 0;
|
|
||||||
list-style: none;
|
list-style: none;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
display: grid;
|
||||||
|
gap: 0.5em;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
|
|
||||||
margin: 0;
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #000;
|
color: #000;
|
||||||
|
@ -153,19 +147,8 @@ export interface Props {
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-card {
|
.post-card {
|
||||||
padding-bottom: 1rem;
|
|
||||||
grid-template-columns: calc(70px + 0.5em) auto;
|
|
||||||
display: grid;
|
display: grid;
|
||||||
margin: 0;
|
grid-template-columns: calc(70px + 0.5em) auto;
|
||||||
|
|
||||||
p {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-card__image,
|
|
||||||
.post-card__content {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post-card__image {
|
.post-card__image {
|
||||||
img, svg {
|
img, svg {
|
||||||
|
@ -173,12 +156,13 @@ export interface Props {
|
||||||
height: 70px;
|
height: 70px;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
border: 1px solid #eee;
|
border: 2px solid rgb(var(--gray));
|
||||||
margin: 0;
|
background-color: rgb(var(--gray));
|
||||||
|
margin: 0.15rem 0;
|
||||||
}
|
}
|
||||||
svg {
|
svg {
|
||||||
color: #ccc;
|
color: rgb(var(--gray-light));
|
||||||
padding: 0.5rem;
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -194,7 +178,6 @@ export interface Props {
|
||||||
-webkit-line-clamp: 2;
|
-webkit-line-clamp: 2;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
margin: 0 0 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-card__meta, .post-card__description {
|
.post-card__meta, .post-card__description {
|
||||||
|
|
Loading…
Reference in a new issue