From 3397d76b01eede0c4c32e5fa47a696c62b31ea2c Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 23 Jan 2025 20:33:12 +0700 Subject: [PATCH] Improve insert image. See: #851 Minus search image. --- system/admin/views/add-content.html.php | 98 ++++++++++++---------- system/admin/views/add-page.html.php | 55 ++++++------ system/admin/views/edit-content.html.php | 98 ++++++++++++---------- system/admin/views/edit-page.html.php | 101 ++++++++++++----------- 4 files changed, 193 insertions(+), 159 deletions(-) diff --git a/system/admin/views/add-content.html.php b/system/admin/views/add-content.html.php index e3bb395c..6ef4f32a 100644 --- a/system/admin/views/add-content.html.php +++ b/system/admin/views/add-content.html.php @@ -184,7 +184,7 @@ function extractLast( term ) {
- +

@@ -205,62 +205,67 @@ function extractLast( term ) { .wmd-prompt-background {z-index:10!important;} #wmd-preview img {max-width:100%;} .cover-container { - height: 200px; + overflow: auto; + max-height: 65vh; width: 100%; white-space: nowrap; - overflow-x: scroll; - overflow-y: hidden; } .cover-item { position: relative; - display: inline-block; margin: 2px 2px; border-top-right-radius: 2px; - width: 200px; - height: 150px; + width: 190px; + height: 140px; vertical-align: top; background-position: top left; background-repeat: no-repeat; background-size: cover; + float:left; }