Skip to content

Commit e7bfb3e

Browse files
committed
h1 size/margin in test page
1 parent 288fc33 commit e7bfb3e

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

packages/idb-cache-app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@instructure/ui-heading": "^9.9.0",
2222
"@instructure/ui-metric": "^9.9.0",
2323
"@instructure/ui-number-input": "^9.9.0",
24+
"@instructure/ui-responsive": "^9.9.0",
2425
"@instructure/ui-text-input": "^9.9.0",
2526
"@instructure/ui-view": "^9.9.0",
2627
"@playwright/test": "^1.48.2",

packages/idb-cache-app/src/App.tsx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,15 @@ const App = () => {
153153

154154
<div className="min-h-screen bg-gray-50 p-8">
155155
<View as="div" display="block" width="820px" margin="0 auto">
156-
<Heading level="h1" margin="0 0 small 0">
156+
<h1
157+
style={{
158+
fontSize: "clamp(1.8rem, 4vw, 2.4rem)",
159+
whiteSpace: "nowrap",
160+
marginBottom: "1rem",
161+
}}
162+
>
157163
@instructure/idb-cache
158-
</Heading>
164+
</h1>
159165

160166
<form>
161167
<WrappedFlexContainer>

pnpm-lock.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)