commit b6d30a70a86bbde2f5963811117cd8da67daaae3
parent 6ce3ab969959e511d3d0ace5feef2f146a189962
Author: William Casarin <jb55@jb55.com>
Date: Thu, 27 Oct 2022 18:03:38 -0700
don't let replies break condensed view for now
Diffstat:
3 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/webv2/damus.css b/webv2/damus.css
@@ -181,18 +181,22 @@ html {
.pfp {
order: 1;
- margin: 0 15px 0 0;
+ margin: 0 0 0 0;
+ }
+
+ .pfpbox {
+ margin-right: 20px;
}
.comment {
padding: 10px;
+ align-items: center;
border-radius: 8px;
background-color: rgba(255.0,255.0,255.0,0.1);
}
.comment p {
order: 3;
- margin-top: 10px;
width: 100%;
}
}
diff --git a/webv2/damus.js b/webv2/damus.js
@@ -419,7 +419,7 @@ function render_event(model, ev, opts={}) {
${render_name(ev.pubkey, profile)}
<span>${delta}</span>
</div>
- <div>
+ <div class="pfpbox">
${reply_line_top}
<img class="pfp" onerror="this.onerror=null;this.src='${robohash(pk)}';" src="${get_picture(pk, profile)}">
${reply_line_bot}
diff --git a/webv2/index.html b/webv2/index.html
@@ -6,7 +6,7 @@
<title>Damus Web</title>
- <link rel="stylesheet" href="damus.css?v=3">
+ <link rel="stylesheet" href="damus.css?v=4">
</head>
<body>
<section class="header">