idcmd 0.0.13 → 0.0.14
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/package.json
CHANGED
|
@@ -215,8 +215,8 @@ const getPanelClass = (
|
|
|
215
215
|
placement: ResolvedRightRailConfig["placement"]
|
|
216
216
|
): string =>
|
|
217
217
|
placement === "viewport"
|
|
218
|
-
? "fixed top-
|
|
219
|
-
: "sticky top-
|
|
218
|
+
? "fixed top-8 bottom-0 right-8 z-20 w-64 flex flex-col gap-6 min-h-0"
|
|
219
|
+
: "sticky top-8 h-[calc(100vh-2rem)] flex flex-col gap-6 min-h-0";
|
|
220
220
|
|
|
221
221
|
export interface RightRailProps {
|
|
222
222
|
canonicalUrl?: string;
|
|
@@ -218,8 +218,8 @@ const getPanelClass = (
|
|
|
218
218
|
placement: RightRailProps["rightRailConfig"]["placement"]
|
|
219
219
|
): string =>
|
|
220
220
|
placement === "viewport"
|
|
221
|
-
? "fixed top-
|
|
222
|
-
: "sticky top-
|
|
221
|
+
? "fixed top-8 bottom-0 right-8 z-20 w-64 flex flex-col gap-6 min-h-0"
|
|
222
|
+
: "sticky top-8 h-[calc(100vh-2rem)] flex flex-col gap-6 min-h-0";
|
|
223
223
|
|
|
224
224
|
export const RightRail = ({
|
|
225
225
|
canonicalUrl,
|