()
| 119 | } |
| 120 | |
| 121 | function getCurrentSidebarWidth() { |
| 122 | const rawValue = |
| 123 | getComputedStyle(layout).getPropertyValue("--sidebar-width"); |
| 124 | const width = parseFloat(rawValue); |
| 125 | |
| 126 | return Number.isFinite(width) ? width : minSidebarWidth; |
| 127 | } |
| 128 | |
| 129 | function getCurrentMobileOptionsHeight() { |
| 130 | const rawValue = getComputedStyle(layout).getPropertyValue( |
no outgoing calls
no test coverage detected