Spaces:
Running
Running
Commit ·
69b88d9
1
Parent(s): 8f53ca3
Update styles in style.css to enhance layout and performance
Browse files- Added `contain: paint;` to the body for improved rendering performance.
- Changed `overflow` property from `visible` to `hidden` to prevent unwanted content overflow.
style.css
CHANGED
|
@@ -188,6 +188,7 @@ body {
|
|
| 188 |
overflow: hidden;
|
| 189 |
/* Own stacking context so heavy SVG repaints don’t fight the grid panel (paint isolation). */
|
| 190 |
isolation: isolate;
|
|
|
|
| 191 |
z-index: 0;
|
| 192 |
/* Drags were selecting compass/ring labels as text; map chrome isn’t meant to be selectable. */
|
| 193 |
user-select: none;
|
|
@@ -198,7 +199,7 @@ body {
|
|
| 198 |
display: block;
|
| 199 |
width: 100%;
|
| 200 |
height: 100%;
|
| 201 |
-
overflow:
|
| 202 |
shape-rendering: optimizeSpeed;
|
| 203 |
-webkit-user-select: none;
|
| 204 |
user-select: none;
|
|
|
|
| 188 |
overflow: hidden;
|
| 189 |
/* Own stacking context so heavy SVG repaints don’t fight the grid panel (paint isolation). */
|
| 190 |
isolation: isolate;
|
| 191 |
+
contain: paint;
|
| 192 |
z-index: 0;
|
| 193 |
/* Drags were selecting compass/ring labels as text; map chrome isn’t meant to be selectable. */
|
| 194 |
user-select: none;
|
|
|
|
| 199 |
display: block;
|
| 200 |
width: 100%;
|
| 201 |
height: 100%;
|
| 202 |
+
overflow: hidden;
|
| 203 |
shape-rendering: optimizeSpeed;
|
| 204 |
-webkit-user-select: none;
|
| 205 |
user-select: none;
|