style the button

This commit is contained in:
Bruno Windels 2021-05-28 12:22:47 +02:00
parent f82e873da8
commit 100e056d55
2 changed files with 6 additions and 1 deletions

View File

@ -85,6 +85,11 @@ limitations under the License.
justify-self: right; justify-self: right;
margin-top: -12px; margin-top: -12px;
margin-right: 4px; margin-right: 4px;
/* button visuals */
border: #ccc 1px solid;
height: 24px;
background-color: #fff;
border-radius: 4px;
} }
.Timeline_messageTime { .Timeline_messageTime {

View File

@ -30,6 +30,6 @@ export function renderMessage(t, vm, body) {
t.if(vm => !vm.isContinuation, t => t.div({className: `Timeline_messageSender usercolor${vm.avatarColorNumber}`}, vm.displayName)), t.if(vm => !vm.isContinuation, t => t.div({className: `Timeline_messageSender usercolor${vm.avatarColorNumber}`}, vm.displayName)),
body, body,
// should be after body as it is overlayed on top // should be after body as it is overlayed on top
t.button({className: "Timeline_messageOptions"}, ""), t.button({className: "Timeline_messageOptions"}, ""),
]); ]);
} }