mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:47:17 +08:00
1b7e9d95da
* Set min-width to prevent a flex blowout Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Use a native spacing property Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Set max-width: 100% to display name inside the image reply Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
41 lines
1.0 KiB
SCSS
41 lines
1.0 KiB
SCSS
/*
|
|
Copyright 2020 Tulir Asokan <tulir@maunium.net>
|
|
|
|
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_MImageReplyBody {
|
|
display: flex;
|
|
column-gap: $spacing-4;
|
|
|
|
.mx_MImageBody_thumbnail_container,
|
|
.mx_MImageReplyBody_info {
|
|
flex: 1;
|
|
min-width: 0; // Prevent a blowout
|
|
}
|
|
|
|
.mx_MImageReplyBody_info {
|
|
.mx_MImageReplyBody_sender {
|
|
grid-area: sender;
|
|
|
|
.mx_DisambiguatedProfile {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
.mx_MImageReplyBody_filename {
|
|
grid-area: filename;
|
|
}
|
|
}
|
|
}
|