mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-15 00:51:29 +03:00
0701d89bbe
The flex box was behaving a bit strange, so we just wrap the content and change `height: 235px` to `max-height: 235px` to get scrollbars.
53 lines
1.3 KiB
SCSS
53 lines
1.3 KiB
SCSS
/*
|
|
Copyright 2018 New Vector Ltd
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
|
|
.mx_RoomUpgradeWarningBar {
|
|
max-height: 235px;
|
|
background-color: $preview-bar-bg-color;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
overflow: scroll;
|
|
}
|
|
|
|
.mx_RoomUpgradeWarningBar_wrapped {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
text-align: center;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
-webkit-align-items: center;
|
|
}
|
|
|
|
.mx_RoomUpgradeWarningBar_header {
|
|
color: $warning-color;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.mx_RoomUpgradeWarningBar_body {
|
|
color: $warning-color;
|
|
}
|
|
|
|
.mx_RoomUpgradeWarningBar_upgradelink {
|
|
color: $warning-color;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.mx_RoomUpgradeWarningBar_small {
|
|
color: $greyed-fg-color;
|
|
font-size: 70%;
|
|
}
|