mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
5b2cee2fc1
Also fairly significant refactor of the uploading code: there are a number of different ways of triggerring a file upload and each went through a different code path (the media config size limit worked on one of those paths). Basically take a lot of code out of the views and put it into ContentMessages. Sorry about the size of this patch. https://github.com/vector-im/riot-web/issues/7565
34 lines
866 B
SCSS
34 lines
866 B
SCSS
/*
|
|
Copyright 2019 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_UploadConfirmDialog_fileIcon {
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.mx_UploadConfirmDialog_previewOuter {
|
|
text-align: center;
|
|
}
|
|
|
|
.mx_UploadConfirmDialog_previewInner {
|
|
display: inline-block;
|
|
text-align: left;
|
|
}
|
|
|
|
.mx_UploadConfirmDialog_imagePreview {
|
|
max-height: 300px;
|
|
max-width: 100%;
|
|
}
|