Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
RMidhunSuresh 2021-08-06 21:07:30 +05:30
parent b97b9da14a
commit 1ce111c317
2 changed files with 2 additions and 1 deletions

View file

@ -64,6 +64,7 @@ limitations under the License.
.Timeline_messageAvatar {
grid-area: avatar;
text-decoration: none;
}
.Timeline_messageSender {

View file

@ -42,7 +42,7 @@ export class BaseMessageView extends TemplateView {
// should be after body as it is overlayed on top
t.button({className: "Timeline_messageOptions"}, "⋯"),
]);
const avatar = t.a({href: vm.memberPanelLink}, [renderStaticAvatar(vm, 30, "Timeline_messageAvatar")]);
const avatar = t.a({href: vm.memberPanelLink, className: "Timeline_messageAvatar"}, [renderStaticAvatar(vm, 30)]);
// given that there can be many tiles, we don't add
// unneeded DOM nodes in case of a continuation, and we add it
// with a side-effect binding to not have to create sub views,