image styles for image view modal window
This commit is contained in:
@@ -3387,6 +3387,33 @@
|
|||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
background: v.$white;
|
background: v.$white;
|
||||||
|
|
||||||
|
.image-section {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
min-height: 400px;
|
||||||
|
background: #fafafa;
|
||||||
|
border-radius: 12px;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.image-container {
|
||||||
|
position: relative;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
|
object-fit: contain;
|
||||||
|
border-radius: 8px;
|
||||||
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.file-info-card {
|
.file-info-card {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
border: 1px solid #e2e8f0;
|
border: 1px solid #e2e8f0;
|
||||||
|
|||||||
@@ -54,12 +54,14 @@ export function SearchedUserFilesList({ list }: { list: any }) {
|
|||||||
className="modal-window-view-file-content"
|
className="modal-window-view-file-content"
|
||||||
>
|
>
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<div>
|
<div className="image-section">
|
||||||
|
<div className="image-container">
|
||||||
<img
|
<img
|
||||||
src={e.url ? e.url : '#'}
|
src={e.url ? e.url : '#'}
|
||||||
alt="img"
|
alt="img"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
className="file-info-card"
|
className="file-info-card"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user