don't let replies break condensed view for now

This commit is contained in:
William Casarin 2022-10-27 18:03:38 -07:00
parent 6ce3ab9699
commit b6d30a70a8
3 changed files with 8 additions and 4 deletions

View file

@ -181,18 +181,22 @@ html {
.pfp { .pfp {
order: 1; order: 1;
margin: 0 15px 0 0; margin: 0 0 0 0;
}
.pfpbox {
margin-right: 20px;
} }
.comment { .comment {
padding: 10px; padding: 10px;
align-items: center;
border-radius: 8px; border-radius: 8px;
background-color: rgba(255.0,255.0,255.0,0.1); background-color: rgba(255.0,255.0,255.0,0.1);
} }
.comment p { .comment p {
order: 3; order: 3;
margin-top: 10px;
width: 100%; width: 100%;
} }
} }

View file

@ -419,7 +419,7 @@ function render_event(model, ev, opts={}) {
${render_name(ev.pubkey, profile)} ${render_name(ev.pubkey, profile)}
<span>${delta}</span> <span>${delta}</span>
</div> </div>
<div> <div class="pfpbox">
${reply_line_top} ${reply_line_top}
<img class="pfp" onerror="this.onerror=null;this.src='${robohash(pk)}';" src="${get_picture(pk, profile)}"> <img class="pfp" onerror="this.onerror=null;this.src='${robohash(pk)}';" src="${get_picture(pk, profile)}">
${reply_line_bot} ${reply_line_bot}

View file

@ -6,7 +6,7 @@
<title>Damus Web</title> <title>Damus Web</title>
<link rel="stylesheet" href="damus.css?v=3"> <link rel="stylesheet" href="damus.css?v=4">
</head> </head>
<body> <body>
<section class="header"> <section class="header">