fix video size

This commit is contained in:
hamid zarghami
2025-09-03 09:16:59 +03:30
parent 0e16af827f
commit 3ca8b89a47
5 changed files with 37 additions and 87 deletions
+22 -1
View File
@@ -162,7 +162,7 @@ tbody tr {
.ql-container {
min-height: 200px !important;
max-height: 500px;
max-height: none;
overflow-y: auto;
}
@@ -170,3 +170,24 @@ tbody tr {
position: relative !important;
z-index: 10;
}
/* استایل‌های مخصوص iframe ویدیو */
.ql-video-wrapper {
margin: 1em 0 !important;
text-align: center !important;
position: relative !important;
width: 100% !important;
aspect-ratio: 16/9 !important;
min-height: 300px !important;
}
.ql-video-wrapper iframe {
position: absolute !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
border-radius: 8px !important;
border: none !important;
max-width: 100% !important;
}