修复侧边栏图片圆角不显示的问题
This commit is contained in:
parent
47504444ea
commit
47ecf9062c
@ -263,10 +263,16 @@ const deleteAttachment = (attachment: any) => {
|
||||
.image-attachment img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 6px;
|
||||
border-radius: 8px;
|
||||
object-fit: contain;
|
||||
cursor: pointer;
|
||||
transition: transform 0.2s ease;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.image-container {
|
||||
position: relative;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.image-attachment img:hover {
|
||||
@ -282,10 +288,6 @@ const deleteAttachment = (attachment: any) => {
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.image-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.image-container img:hover + .image-overlay,
|
||||
.image-container .image-overlay:hover {
|
||||
opacity: 1;
|
||||
|
||||
@ -100,8 +100,10 @@ const openImageModal = (url: string) => {
|
||||
.image-card img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
border-radius: 8px;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.preview-image {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user