From 6ddc9d73f1299cdeb90bc88ed0bb53821c4825aa Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 14 Jul 2026 17:25:37 +0200 Subject: Supply related-asset URLs/name and public inline-image CSS RelatedAssetsController#create's JSON includes large_url, original_url, and name alongside thumb_url/url; the related-asset list items in both editors carry them as data-large-url, data-original-url, and data-name. ccc.css gets the public-facing .inline-image--full/--half/--left/ --right rules -- admin.css and TinyMCE's content_style cover the cockpit and in-editor renderings respectively. --- public/stylesheets/ccc.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'public') diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css index bb4f7e3..cbeea17 100644 --- a/public/stylesheets/ccc.css +++ b/public/stylesheets/ccc.css @@ -627,3 +627,24 @@ label[for=light-mode] { .chapter_partial_content { min-width: 0; } + + +.inline-image--full { + width: 100%; + margin: 1rem 0; +} + +.inline-image--half { + width: 48%; + margin-bottom: 1rem; +} + +.inline-image--left { + float: left; + margin-right: 1rem; +} + +.inline-image--right { + float: right; + margin-left: 1rem; +} -- cgit v1.3