starlight-sidebar-topics-dropdown 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Topics.astro +2 -2
- package/package.json +1 -1
package/components/Topics.astro
CHANGED
|
@@ -178,7 +178,7 @@ function getTranslation(translations: Record<string, string>, link: string, desc
|
|
|
178
178
|
.starlight-sidebar-topics-dropdown-menu {
|
|
179
179
|
display: block;
|
|
180
180
|
position: absolute;
|
|
181
|
-
margin-top: 0.
|
|
181
|
+
margin-top: 0.5rem;
|
|
182
182
|
width: 100%;
|
|
183
183
|
background-color: var(--sl-color-gray-6);
|
|
184
184
|
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
|
|
@@ -230,7 +230,7 @@ function getTranslation(translations: Record<string, string>, link: string, desc
|
|
|
230
230
|
}
|
|
231
231
|
</style>
|
|
232
232
|
|
|
233
|
-
<script>
|
|
233
|
+
<script is:inline>
|
|
234
234
|
const dropdownButton = document.getElementById('starlight-sidebar-topics-dropdown-button');
|
|
235
235
|
const dropdownMenu = document.getElementById('starlight-sidebar-topics-dropdown-menu');
|
|
236
236
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "starlight-sidebar-topics-dropdown",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Starlight plugin to split your docs page into multiple subpages and switch between them with a dropdown menu in the sidebar.",
|
|
6
6
|
"author": "trueberryless (https://trueberryless.org)",
|