summaryrefslogtreecommitdiff
path: root/gui/src/styles
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-11-18 08:32:45 +0700
committerpolwex <polwex@sortug.com>2025-11-18 08:32:45 +0700
commit7706acaafa89691dba33c216e6287a8405c4c302 (patch)
tree504d49fd289c6f4f6f5494395ddd4089a057efc9 /gui/src/styles
parentb3379cc108d6eed98cb0010e6f1ddca94aba83a2 (diff)
gui fixes to nostr post rendering, added nostr-tools lib for primal compatibility
Diffstat (limited to 'gui/src/styles')
-rw-r--r--gui/src/styles/styles.css12
-rw-r--r--gui/src/styles/trill.css12
2 files changed, 12 insertions, 12 deletions
diff --git a/gui/src/styles/styles.css b/gui/src/styles/styles.css
index c105656..ac3c71b 100644
--- a/gui/src/styles/styles.css
+++ b/gui/src/styles/styles.css
@@ -555,6 +555,13 @@ h6 {
& .author {
flex: unset;
gap: 0;
+ margin: 0.7rem 0.3rem;
+ font-weight: 700;
+ flex-grow: 1;
+
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
& .name {
display: flex;
@@ -566,6 +573,11 @@ h6 {
}
}
+ post-body {
+ max-height: 300px;
+ overflow-y: auto;
+ }
+
& .date {
color: grey;
}
diff --git a/gui/src/styles/trill.css b/gui/src/styles/trill.css
index 0a21ed5..0b1650c 100644
--- a/gui/src/styles/trill.css
+++ b/gui/src/styles/trill.css
@@ -25,10 +25,6 @@
/* min-height: 150px; */
}
-.trill-post .author {
- flex: 1 0 auto;
-}
-
.trill-reply-thread {
border-top: 1px solid var(--text-color);
}
@@ -74,14 +70,6 @@
font-size: 1rem;
}
-.trill-post .p-only {
- margin: 0.7rem 0.3rem;
- font-weight: 700;
-}
-
-.trill-post .p {
- /* margin-top: -5px; */
-}
.trill-post a {
text-decoration: 0;