mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-04 10:42:23 +00:00
perf(canvas): stop pan and zoom from restyling every card
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c4b9b7a165
commit
1d286427ad
1 file changed
+12
@@ -6142,6 +6142,18 @@ html .application-settings-navigation .menu-item-icon {
|
||||
}
|
||||
}
|
||||
|
||||
/* setCanvasDots() writes these on the canvas root on every pan and zoom step, and
|
||||
only the root reads them. Inherited, each write restyles every card in the canvas. */
|
||||
@property --canvas-dots-size {
|
||||
syntax: '*';
|
||||
inherits: false;
|
||||
}
|
||||
|
||||
@property --canvas-dots-position {
|
||||
syntax: '*';
|
||||
inherits: false;
|
||||
}
|
||||
|
||||
/* Canvases at full zoom: the grid dots turn into small Coolify logos, one
|
||||
per 20px tile. setCanvasDots() (environment-canvas.js) sets .canvas-zoom-max. */
|
||||
.canvas-zoom-max {
|
||||
|
||||
Reference in new issue
Block a user