Extension Sidebar: Set max width to 2/3 of page width (#105497)

This commit is contained in:
Sven Grossmann
2025-05-16 08:31:20 +02:00
committed by GitHub
parent 002f46736a
commit 6343a9caf8
@@ -12,7 +12,7 @@ import {
export const DEFAULT_EXTENSION_SIDEBAR_WIDTH = 300;
export const MIN_EXTENSION_SIDEBAR_WIDTH = 100;
export const MAX_EXTENSION_SIDEBAR_WIDTH = 700;
export const MAX_EXTENSION_SIDEBAR_WIDTH = Math.floor(window.innerWidth * (2 / 3));
type ExtensionSidebarComponentProps = {
props?: Record<string, unknown>;