Skip to content

Commit

Permalink
Support Mantine UI
Browse files Browse the repository at this point in the history
  • Loading branch information
wongchito committed Feb 10, 2025
1 parent 129cafb commit a3a861c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions local/frame/frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
<div id="frame">
<div class="rmg-window__header">Frame Header</div>
<div class="rmg-window__header rmg-window__app-clip-header">App Clip Header</div>
<div class="rm-window__header">Frame Header (Mantine)</div>
<div class="rm-window__header rm-window__app-clip-header">App Clip Header (Mantine)</div>
</div>

<script type="module" src="frame.js"></script>
Expand Down
3 changes: 2 additions & 1 deletion src/service/frame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ const injectUITools = () => {

// define indent style
const indentHeader = document.createElement('style');
indentHeader.textContent = '.rmg-window__header:not(.rmg-window__app-clip-header){margin-left: 40px;}';
indentHeader.textContent =
'.rmg-window__header:not(.rmg-window__app-clip-header),.rm-window__header:not(.rm-window__app-clip-header){margin-left: 40px;}';

// first render
if (!isStandaloneWindow() && !isRMTMenuShown()) {
Expand Down

0 comments on commit a3a861c

Please sign in to comment.