diff options
Diffstat (limited to 'http')
| -rw-r--r-- | http/public/scripts/feed-condense-content.js | 2 | ||||
| -rw-r--r-- | http/src/css/feed.uppcss | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/http/public/scripts/feed-condense-content.js b/http/public/scripts/feed-condense-content.js index 5203517..984dbce 100644 --- a/http/public/scripts/feed-condense-content.js +++ b/http/public/scripts/feed-condense-content.js @@ -40,7 +40,7 @@ export function toggleContentExpanded(id) { "Tried to toggle 'Read more' button to say 'Read less' but could not find it", ); } else { - buttonAfter.textContent = "Read more"; + buttonAfter.textContent = "Read less"; } if (buttonBefore) { buttonBefore.remove(); diff --git a/http/src/css/feed.uppcss b/http/src/css/feed.uppcss index d90a8cd..3a1aca6 100644 --- a/http/src/css/feed.uppcss +++ b/http/src/css/feed.uppcss @@ -12,26 +12,26 @@ ul:has(> .h-entry) { } } -.h-entry { +.h-feed .h-entry { display: flex; flex-direction: column; } -.h-entry + .h-entry { +.h-feed .h-entry + .h-entry { margin-block-start: var(--spacing-block-md); } -.h-entry > * { +.h-feed .h-entry > * { order: 1; margin: 0; } -.h-entry .dt-published { +.h-feed .h-entry .dt-published { order: 0; font-size: var(--font-size-sm); } -.h-entry .p-name { +.h-feed .h-entry .p-name { font-size: var(--font-size-md); font-weight: 400; } @@ -44,7 +44,7 @@ ul:has(> .h-entry) { content: ' >'; } -.e-content { +.h-feed .e-content { border-bottom: solid 1px; &:not(.e-content--expanded) { height: 10rem; @@ -52,7 +52,7 @@ ul:has(> .h-entry) { } } -.h-entry > button { +.h-feed .h-entry > button { width: max-content; align-self: center; margin-block-start: var(--spacing-block-xs); |
