Skip to content

Commit

Permalink
style bottom bar
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfame committed Feb 3, 2023
1 parent 4fe2947 commit d84d09f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion src/platform/web/ui/css/themes/element/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ button.link {
width: 100%;
}

.DisabledComposerView {
.DisabledComposerView, .PeekableRoomComposerView {
padding: 12px;
background-color: var(--background-color-secondary);
}
Expand Down Expand Up @@ -980,6 +980,16 @@ button.link {
.PeekableRoomView .Timeline_message:hover > .Timeline_messageOptions{
display: none;
}
.PeekableRoomComposerView {
padding: 12px;
}
.PeekableRoomComposerView h3 {
display: inline-block;
margin: 0;
}
.PeekableRoomComposerView .joinRoomButton {
float: right;
}

.LoadingView {
height: 100%;
Expand Down
4 changes: 2 additions & 2 deletions src/platform/web/ui/session/room/PeekableRoomView.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ export class PeekableRoomView extends TemplateView {
new TimelineLoadingView(vm); // vm is just needed for i18n
}),
t.div({className: "PeekableRoomComposerView"}, [
t.h3(vm => vm.i18n`You are currently peeking into this room. To join, click the button below.`),
t.button({className: "joinRoomButton", onClick: () => vm.join()}, "Join")
t.h3(vm => vm.i18n`Join the room to participate`),
t.button({className: "joinRoomButton", onClick: () => vm.join()}, vm.i18n`Join Room`)
])
])
]);
Expand Down

0 comments on commit d84d09f

Please sign in to comment.