From 67806f29619954d60f2feaf84935ac15facdbaf6 Mon Sep 17 00:00:00 2001 From: Kai Vandivier Date: Mon, 13 Jan 2025 17:44:56 +0100 Subject: [PATCH] chore: styles --- examples/simple-app/src/PluginTester.jsx | 3 ++- shell/src/PluginLoader.jsx | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/simple-app/src/PluginTester.jsx b/examples/simple-app/src/PluginTester.jsx index c5b53670..0fe3ea95 100644 --- a/examples/simple-app/src/PluginTester.jsx +++ b/examples/simple-app/src/PluginTester.jsx @@ -25,7 +25,8 @@ const PluginTester = () => {

Container-driven default. Expectation: fills container width, height = content height. A wrapper div is needed to make margins - work the same as width = auto, but that affects + work the same as width = auto. Decided not to build that into + the plugin component since it affects flex behavior

diff --git a/shell/src/PluginLoader.jsx b/shell/src/PluginLoader.jsx index e9b56578..3adf1c9a 100644 --- a/shell/src/PluginLoader.jsx +++ b/shell/src/PluginLoader.jsx @@ -67,8 +67,8 @@ const PluginInner = ({ resizePluginWidth, clientWidth, }) => { - // if a resize function isn't defined, that value is container-driven and - // doesn't need resizing. + // If a resize function isn't defined, that value is container-driven and + // doesn't need resizing. // If neither are defined, then don't need the ResizeInner if (!resizePluginHeight && !resizePluginWidth) { return (