Fix file drop UI

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2020-12-16 16:02:27 +01:00
parent 70f24baaf1
commit 89bc443594
2 changed files with 6 additions and 9 deletions

View file

@ -22,7 +22,7 @@ limitations under the License.
} }
.mx_MainSplit > .mx_RightPanel_ResizeWrapper { .mx_MainSplit > .mx_RightPanel_ResizeWrapper {
padding: 5px; padding: 0 5px 5px 5px;
// margin left to not allow the handle to not encroach on the space for the scrollbar // margin left to not allow the handle to not encroach on the space for the scrollbar
margin-left: 8px; margin-left: 8px;
height: calc(100vh - 51px); // height of .mx_RoomHeader.light-panel height: calc(100vh - 51px); // height of .mx_RoomHeader.light-panel

View file

@ -23,24 +23,21 @@ limitations under the License.
.mx_RoomView_fileDropTarget { .mx_RoomView_fileDropTarget {
min-width: 0px; min-width: 0px;
width: 100%; width: 100%;
height: 100%;
margin-left: 6.25px;
font-size: $font-18px; font-size: $font-18px;
text-align: center; text-align: center;
pointer-events: none; pointer-events: none;
padding-left: 12px;
padding-right: 12px;
margin-left: -12px;
border-top-left-radius: 10px; border-top-left-radius: 10px;
border-top-right-radius: 10px; border-top-right-radius: 10px;
background-color: $droptarget-bg-color; background-color: $droptarget-bg-color;
border: 2px #e1dddd solid;
border-bottom: none;
position: absolute; position: absolute;
top: 52px;
bottom: 0px;
z-index: 3000; z-index: 3000;
} }