Add comprehensive security audit (86 findings across 10 areas)
Secure dev auth with signed tokens, add email support for --user Simplify breakpoint variables, suppress Sass deprecation warnings 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -27,7 +27,7 @@ class Responsive {
|
||||
}
|
||||
|
||||
const styles = getComputedStyle(document.documentElement);
|
||||
const value = styles.getPropertyValue(`--${name}`).trim();
|
||||
const value = styles.getPropertyValue(`--bp-${name}`).trim();
|
||||
const parsed = parseInt(value, 10);
|
||||
|
||||
this._cache[name] = parsed;
|
||||
@@ -84,7 +84,7 @@ class Responsive {
|
||||
*/
|
||||
static is_desktop_sm() {
|
||||
const vp = this._viewport();
|
||||
return vp >= this._get_breakpoint('desktop-sm') && vp < this._get_breakpoint('desktop-md');
|
||||
return vp >= this._get_breakpoint('desktop') && vp < this._get_breakpoint('desktop-md');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user