@ytspar/devbar 1.0.0-canary.92db425 → 1.0.0-canary.c37df82
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/dist/constants.js +9 -1
- package/package.json +1 -1
package/dist/constants.js
CHANGED
|
@@ -489,7 +489,8 @@ export const TOOLTIP_STYLES = `
|
|
|
489
489
|
}
|
|
490
490
|
/* BASE only (< 640px): fit content, centered horizontally */
|
|
491
491
|
@media (max-width: 639px) {
|
|
492
|
-
|
|
492
|
+
/* Expanded state: center and constrain width */
|
|
493
|
+
[data-devbar]:not(.devbar-collapse) {
|
|
493
494
|
width: auto !important;
|
|
494
495
|
min-width: auto !important;
|
|
495
496
|
max-width: calc(100vw - 32px) !important;
|
|
@@ -497,6 +498,13 @@ export const TOOLTIP_STYLES = `
|
|
|
497
498
|
right: auto !important;
|
|
498
499
|
transform: translateX(-50%) !important;
|
|
499
500
|
}
|
|
501
|
+
/* Collapsed state: preserve circle shape, center horizontally */
|
|
502
|
+
[data-devbar].devbar-collapse {
|
|
503
|
+
left: 50% !important;
|
|
504
|
+
right: auto !important;
|
|
505
|
+
transform: translateX(-50%) !important;
|
|
506
|
+
bottom: 20px !important;
|
|
507
|
+
}
|
|
500
508
|
.devbar-main {
|
|
501
509
|
flex-wrap: wrap;
|
|
502
510
|
justify-content: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ytspar/devbar",
|
|
3
|
-
"version": "1.0.0-canary.
|
|
3
|
+
"version": "1.0.0-canary.c37df82",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Development toolbar and utilities with Sweetlink integration - pure vanilla JS, no framework dependencies",
|