Skip to content

Commit

Permalink
chore: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiVandivier committed Jan 13, 2025
1 parent f931544 commit 67806f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/simple-app/src/PluginTester.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ const PluginTester = () => {
<p>
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
</p>
<div className={styles.margin}>
<Plugin pluginSource={pSrc} />
Expand Down
4 changes: 2 additions & 2 deletions shell/src/PluginLoader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 67806f2

Please sign in to comment.