Show room preview bar with maximised widgets (#8180)
This commit is contained in:
parent
4d14128d94
commit
8058f812c2
4 changed files with 50 additions and 26 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2021 The Matrix.org Foundation C.I.C.
|
||||
Copyright 2021 - 2022 The Matrix.org Foundation C.I.C.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -35,6 +35,12 @@ limitations under the License.
|
|||
}
|
||||
}
|
||||
|
||||
.mx_TimelineCard_timeline {
|
||||
overflow: hidden;
|
||||
position: relative; // offset parent for jump to bottom button
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.mx_AutoHideScrollbar {
|
||||
padding-right: 10px;
|
||||
width: calc(100% - 10px);
|
||||
|
@ -119,8 +125,3 @@ limitations under the License.
|
|||
flex-basis: 48px; // 12 (padding on message list) + 36 (padding on event lines)
|
||||
}
|
||||
}
|
||||
|
||||
.mx_TimelineCard_timeline {
|
||||
overflow: hidden;
|
||||
position: relative; // offset parent for jump to bottom button
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
Copyright 2015, 2016 OpenMarket Ltd
|
||||
Copyright 2015 - 2022 The Matrix.org Foundation C.I.C.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -98,6 +98,14 @@ limitations under the License.
|
|||
}
|
||||
}
|
||||
|
||||
// With maximised widgets, the panel fits in better when rounded
|
||||
.mx_MainSplit_maximisedWidget .mx_RoomPreviewBar_panel {
|
||||
margin: $container-gap-width;
|
||||
margin-right: calc($container-gap-width / 2); // Shared with right panel
|
||||
margin-top: 0; // Already covered by apps drawer
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.mx_RoomPreviewBar_dialog {
|
||||
margin: auto;
|
||||
box-sizing: content;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue