Support Image-Upload and Paste-from-Clipboard
This commit is contained in:
@@ -248,3 +248,35 @@ body {
|
||||
flex-basis: 38px;
|
||||
}
|
||||
}
|
||||
|
||||
/* ============ Add/Edit-Modal ============ */
|
||||
/* Bild-Preview im Add/Edit-Modal begrenzen */
|
||||
#ImgPreviewWrap {
|
||||
max-height: 240px; /* wie hoch darf’s werden */
|
||||
overflow: hidden; /* nix überlappen lassen */
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0.5rem;
|
||||
padding: 0.5rem;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#ImgPreview {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
max-height: 220px; /* = Wrap - Padding */
|
||||
width: auto;
|
||||
height: auto;
|
||||
object-fit: contain; /* immer komplett sichtbar */
|
||||
}
|
||||
|
||||
.visually-hidden {
|
||||
position: absolute !important;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user