From bd7863dbeffc2d5b41a58f8138e5691b60fc63f3 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 21 Jul 2026 15:31:49 +0200 Subject: Remove unreachable image_box drag-and-drop UI image_interface and meta_data (admin_interface.js), the sort_images action and route, and their admin.css rules -- the old vertical image_browser sidebar this all depended on isn't rendered by any current view. related_assets.js and the star-toggle sidebar fully supersede what this did. Confirmed unreachable via full grep across app/, config/routes.rb, and admin_bundle.js before removal -- route, controller action, and JS handler were all individually real and functional, just with nothing left anywhere that could ever trigger them. --- public/stylesheets/admin.css | 29 ----------------------------- 1 file changed, 29 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css index 88c9c8b..ef6cb11 100644 --- a/public/stylesheets/admin.css +++ b/public/stylesheets/admin.css @@ -1042,10 +1042,6 @@ div#page_editor { select { font-size: 1.5rem; } - - #metadata ul#image_box { - width: 100% !important; - } } /* ============================================================ @@ -1264,31 +1260,6 @@ div#draft_list table td.actions a { Image box / browser ============================================================ */ -#metadata ul#image_box { - box-sizing: border-box; - margin: 0; - padding: 10px 5px 10px 5px; - height: 100px; - width: 702px; - border: 1px solid #989898; -} - -#metadata ul#image_box li { - float: left; - list-style-type: none; - margin: 5px; -} - -div#image_browser { - position: absolute; - top: 40px; - left: 800px; -} - -div#image_browser ul li { - list-style-type: none; -} - .thumbnail_list { display: flex; flex-wrap: wrap; -- cgit v1.3