PmWiki |
PITS »
01514: enhance processing of block parametersSummary: enhance processing of block parameters
Created: 2024-10-12 21:02
Status: Closed, added for 2.3.38
Category: Feature
From: simon
Assigned:
Priority: 4
Version:
OS:
Description:
Please enhance the parsing of block parameters so that the markup in You can customize this, set in
Result (enabled on this page):
Note that you have 2 typos in your Nevertheless, I would recommend phasing out inline CSS (defined in the page text), and try and replace it with styles in a separate CSS file like local.css. This will help with your Content Security Policy requirements. --Petko Thanks, thats useful. I'd prefer that the wiki style pattern be added to the core, i.e. so CSS continues to be largely supported. Added for 2.2.38 (also img { max-width: 100%; /* Limit the width to 100% of the parent container */ max-height: 75vh; /* Limit the height to 75% of the viewport height */ width: auto; /* Use the original width if it's smaller than 100% */ height: auto; /* Use the original height if it's smaller than 45vh */ } .box3 { width: 300px; } .box4 { width: 400px; }
|
Main sidebar
|
Page last modified on October 13, 2024, at 11:49 AM | Edit - History - Recent Changes (All) - Search |