Skip to content

Commit

Permalink
fixed intent resolver fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Sep 27, 2024
1 parent f9f049f commit 3835153
Show file tree
Hide file tree
Showing 6 changed files with 106 additions and 154 deletions.
142 changes: 71 additions & 71 deletions fdc3-workbench/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/app/intent-resolver.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { BrowserTypes, AppIdentifier } from "@kite9/fdc3"
import { createRoot } from "react-dom/client"
import { ResolverPanel } from "../client/resolver/resolver"
import "/static/fonts/DM_Sans/DM_Sans.css"

type IframeResolveAction = BrowserTypes.IframeResolveAction
type IframeResolvePayload = BrowserTypes.IframeResolvePayload
Expand Down
33 changes: 33 additions & 0 deletions src/app/movable.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<html>
<style>
.background {
left: 0;
right: 0;
top: 0;
bottom: 0;
position: fixed;
background-color: #22222202;
}

.handle {
position: fixed;
right: 10;
width: 200px;
height: 200px;
background-color: red;
}
</style>

<body>
<div class="Background"></div>

<div class="handle" id="myDiv">Drag Me</div>

<script>
window.onload = function () {
console.log("loaded")
dragElement(document.getElementById("myDiv"))
}
</script>
</body>
</html>
Loading

0 comments on commit 3835153

Please sign in to comment.