Skip to content

Commit 7eb25ad

Browse files
committed
Update @theme_index.js
1 parent 52448ce commit 7eb25ad

3 files changed

Lines changed: 60 additions & 41 deletions

File tree

docs/.vitepress/cache/deps/@theme_index.js

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

docs/.vitepress/cache/deps/_metadata.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
{
2-
"hash": "c35daa6e",
3-
"configHash": "aadcb36b",
2+
"hash": "0b8e7ad0",
3+
"configHash": "5e855269",
44
"lockfileHash": "942ad990",
5-
"browserHash": "5112d3e0",
5+
"browserHash": "16614917",
66
"optimized": {
77
"vue": {
88
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
99
"file": "vue.js",
10-
"fileHash": "a2c88df6",
10+
"fileHash": "ca16b81b",
1111
"needsInterop": false
1212
},
1313
"vitepress > @vue/devtools-api": {
1414
"src": "../../../../node_modules/@vue/devtools-api/dist/index.js",
1515
"file": "vitepress___@vue_devtools-api.js",
16-
"fileHash": "b3c601dd",
16+
"fileHash": "a7d1402c",
1717
"needsInterop": false
1818
},
1919
"vitepress > @vueuse/core": {
2020
"src": "../../../../node_modules/@vueuse/core/index.mjs",
2121
"file": "vitepress___@vueuse_core.js",
22-
"fileHash": "fe47c33f",
22+
"fileHash": "5dd88cbb",
2323
"needsInterop": false
2424
},
2525
"vitepress > @vueuse/integrations/useFocusTrap": {
2626
"src": "../../../../node_modules/@vueuse/integrations/useFocusTrap.mjs",
2727
"file": "vitepress___@vueuse_integrations_useFocusTrap.js",
28-
"fileHash": "44223b89",
28+
"fileHash": "e2bfc761",
2929
"needsInterop": false
3030
},
3131
"vitepress > mark.js/src/vanilla.js": {
3232
"src": "../../../../node_modules/mark.js/src/vanilla.js",
3333
"file": "vitepress___mark__js_src_vanilla__js.js",
34-
"fileHash": "2779828d",
34+
"fileHash": "e587d2a7",
3535
"needsInterop": false
3636
},
3737
"vitepress > minisearch": {
3838
"src": "../../../../node_modules/minisearch/dist/es/index.js",
3939
"file": "vitepress___minisearch.js",
40-
"fileHash": "4898fbb2",
40+
"fileHash": "87f81428",
4141
"needsInterop": false
4242
},
4343
"@theme/index": {
4444
"src": "../../../../node_modules/vitepress/dist/client/theme-default/index.js",
4545
"file": "@theme_index.js",
46-
"fileHash": "2d9351a0",
46+
"fileHash": "3505935a",
4747
"needsInterop": false
4848
}
4949
},

docs/index.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ hero:
88
image:
99
src: https://raw.githubusercontent.com/rushhiii/Scriptable-IOSWidgets/main/.src/scriptable_mockup_wall.png
1010
alt: Scriptable Widgets
11-
width: 800px
11+
width: 100%
1212
actions:
1313
- theme: brand
1414
text: Explore Widgets
@@ -400,4 +400,23 @@ html.dark .widget-image-container {
400400
.widget-grid {
401401
align-items: stretch;
402402
}
403+
404+
/* Hero image custom sizing */
405+
.VPHero .VPImage {
406+
max-width: 800px !important;
407+
width: 100% !important;
408+
height: auto !important;
409+
}
410+
411+
.vp-doc .VPHero .image {
412+
max-width: 800px !important;
413+
width: 100% !important;
414+
}
415+
416+
/* Alternative hero image targeting */
417+
.VPHome .VPHero .VPImage img {
418+
max-width: 800px !important;
419+
width: 100% !important;
420+
height: auto !important;
421+
}
403422
</style>

0 commit comments

Comments
 (0)