@myoc/excalidraw 0.19.548 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +94 -0
  3. package/dist/dev/{chunk-TX6RZP3Q.js → chunk-JAMVC3FK.js} +2 -2
  4. package/dist/dev/{chunk-JAAO2HX3.js → chunk-SYLLRP5N.js} +5 -5
  5. package/dist/dev/chunk-SYLLRP5N.js.map +7 -0
  6. package/dist/dev/data/{image-52GR34EH.js → image-MIDG6L22.js} +3 -3
  7. package/dist/dev/index.css +270 -34
  8. package/dist/dev/index.css.map +3 -3
  9. package/dist/dev/index.js +1509 -1049
  10. package/dist/dev/index.js.map +4 -4
  11. package/dist/dev/subset-shared.chunk.js +1 -1
  12. package/dist/dev/subset-worker.chunk.js +1 -1
  13. package/dist/prod/{chunk-66AA4FGN.js → chunk-7YEIEXKT.js} +1 -1
  14. package/dist/prod/chunk-PITW2T2E.js +4 -0
  15. package/dist/prod/data/image-SFMYPR3Z.js +1 -0
  16. package/dist/prod/index.css +1 -1
  17. package/dist/prod/index.js +20 -20
  18. package/dist/prod/subset-shared.chunk.js +1 -1
  19. package/dist/prod/subset-worker.chunk.js +1 -1
  20. package/dist/types/excalidraw/actions/actionArrange.d.ts +1 -1
  21. package/dist/types/excalidraw/actions/actionElementLock.d.ts +2 -2
  22. package/dist/types/excalidraw/actions/actionFlipViewpoint.d.ts +2 -2
  23. package/dist/types/excalidraw/actions/actionLinearEditor.d.ts +2 -2
  24. package/dist/types/excalidraw/actions/actionLink.d.ts +1 -1
  25. package/dist/types/excalidraw/actions/actionNormalise.d.ts +1 -1
  26. package/dist/types/excalidraw/actions/actionToggleArrowBinding.d.ts +1 -1
  27. package/dist/types/excalidraw/actions/actionToggleGridMode.d.ts +1 -1
  28. package/dist/types/excalidraw/actions/actionToggleMidpointSnapping.d.ts +1 -1
  29. package/dist/types/excalidraw/actions/actionToggleObjectsSnapMode.d.ts +1 -1
  30. package/dist/types/excalidraw/actions/actionToggleSearchMenu.d.ts +1 -1
  31. package/dist/types/excalidraw/actions/actionToggleShapeSwitch.d.ts +1 -1
  32. package/dist/types/excalidraw/actions/actionToggleStats.d.ts +1 -1
  33. package/dist/types/excalidraw/actions/actionToggleViewMode.d.ts +1 -1
  34. package/dist/types/excalidraw/components/Actions.d.ts +3 -1
  35. package/dist/types/excalidraw/components/LayerUI.d.ts +2 -1
  36. package/dist/types/excalidraw/components/MobileMenu.d.ts +3 -2
  37. package/dist/types/excalidraw/components/Toolbar.d.ts +2 -1
  38. package/dist/types/excalidraw/components/UIRegionLayout.d.ts +34 -0
  39. package/dist/types/excalidraw/index.d.ts +3 -1
  40. package/dist/types/excalidraw/types.d.ts +36 -0
  41. package/package.json +4 -4
  42. package/dist/dev/chunk-JAAO2HX3.js.map +0 -7
  43. package/dist/prod/chunk-IGVMT3A5.js +0 -4
  44. package/dist/prod/data/image-KVWZNTQS.js +0 -1
  45. /package/dist/dev/{chunk-TX6RZP3Q.js.map → chunk-JAMVC3FK.js.map} +0 -0
  46. /package/dist/dev/data/{image-52GR34EH.js.map → image-MIDG6L22.js.map} +0 -0
@@ -2,12 +2,12 @@ import {
2
2
  decodePngMetadata,
3
3
  encodePngMetadata,
4
4
  getTEXtChunk
5
- } from "../chunk-JAAO2HX3.js";
6
- import "../chunk-TX6RZP3Q.js";
5
+ } from "../chunk-SYLLRP5N.js";
6
+ import "../chunk-JAMVC3FK.js";
7
7
  import "../chunk-XDFCUUT6.js";
8
8
  export {
9
9
  decodePngMetadata,
10
10
  encodePngMetadata,
11
11
  getTEXtChunk
12
12
  };
13
- //# sourceMappingURL=image-52GR34EH.js.map
13
+ //# sourceMappingURL=image-MIDG6L22.js.map
@@ -1092,7 +1092,7 @@ body.excalidraw-color-dnd-active * {
1092
1092
  background: var(--island-bg-color);
1093
1093
  box-shadow: var(--shadow-island);
1094
1094
  padding: 0.5rem;
1095
- z-index: var(--zIndex-layerUI);
1095
+ z-index: var(--zIndex-ui-top);
1096
1096
  }
1097
1097
  .excalidraw:focus {
1098
1098
  outline: none;
@@ -1633,7 +1633,6 @@ body.excalidraw-color-dnd-active * {
1633
1633
  background-color: var(--island-bg-color);
1634
1634
  border-radius: var(--border-radius-lg);
1635
1635
  box-shadow: 0 0 0 1px var(--color-surface-lowest);
1636
- margin-inline-start: 0.6em;
1637
1636
  }
1638
1637
  .zoom-button,
1639
1638
  .undo-redo-buttons button {
@@ -1779,7 +1778,8 @@ body.excalidraw-color-dnd-active * {
1779
1778
  z-index: 999;
1780
1779
  display: flex;
1781
1780
  flex-direction: row;
1782
- justify-content: space-between;
1781
+ justify-content: flex-start;
1782
+ gap: 6px;
1783
1783
  width: 100%;
1784
1784
  background: transparent;
1785
1785
  border-radius: var(--border-radius-lg);
@@ -1788,6 +1788,15 @@ body.excalidraw-color-dnd-active * {
1788
1788
  scrollbar-width: none;
1789
1789
  -ms-overflow-style: none;
1790
1790
  }
1791
+ .mobile-shape-actions__primary {
1792
+ display: flex;
1793
+ flex: 1;
1794
+ flex-direction: row;
1795
+ gap: 6px;
1796
+ }
1797
+ .mobile-shape-actions__primary:empty {
1798
+ display: none;
1799
+ }
1791
1800
  .shape-actions-theme-scope {
1792
1801
  --button-border: transparent;
1793
1802
  --button-bg: var(--color-surface-mid);
@@ -1839,7 +1848,7 @@ body.excalidraw-color-dnd-active * {
1839
1848
  /* components/dropdownMenu/DropdownMenu.scss */
1840
1849
  .excalidraw .dropdown-menu {
1841
1850
  max-width: 20rem;
1842
- z-index: 1;
1851
+ z-index: var(--zIndex-ui-top);
1843
1852
  }
1844
1853
  .excalidraw .dropdown-menu--placement-top {
1845
1854
  margin-bottom: 0.5rem;
@@ -2114,31 +2123,32 @@ body.excalidraw-color-dnd-active * {
2114
2123
  /* components/MobileToolbar.scss */
2115
2124
  .excalidraw .mobile-toolbar {
2116
2125
  display: flex;
2117
- flex: 1;
2126
+ flex: 0 1 auto;
2127
+ width: fit-content;
2128
+ max-width: 100%;
2118
2129
  align-items: center;
2119
2130
  padding: 0px;
2120
- gap: 4px;
2131
+ gap: 6px;
2121
2132
  border-radius: var(--space-factor);
2122
- overflow-x: auto;
2123
- scrollbar-width: none;
2124
- -ms-overflow-style: none;
2125
- justify-content: space-between;
2126
- }
2127
- .excalidraw .mobile-toolbar::-webkit-scrollbar {
2128
- display: none;
2133
+ flex-wrap: wrap;
2134
+ overflow: visible;
2135
+ justify-content: flex-start;
2129
2136
  }
2130
2137
  .excalidraw .mobile-toolbar .ToolIcon {
2138
+ width: 2rem;
2139
+ height: 2rem;
2131
2140
  min-width: 2rem;
2132
2141
  min-height: 2rem;
2133
- border-radius: 4px;
2142
+ border-radius: var(--border-radius-lg);
2134
2143
  display: flex;
2135
2144
  align-items: center;
2136
2145
  justify-content: center;
2137
2146
  flex-shrink: 0;
2138
2147
  }
2139
2148
  .excalidraw .mobile-toolbar .ToolIcon .ToolIcon__icon {
2140
- width: 2.25rem;
2141
- height: 2.25rem;
2149
+ width: 2rem;
2150
+ height: 2rem;
2151
+ border-radius: var(--border-radius-lg);
2142
2152
  }
2143
2153
  .excalidraw .mobile-toolbar .ToolIcon .ToolIcon__icon:hover {
2144
2154
  background-color: transparent;
@@ -2161,7 +2171,6 @@ body.excalidraw-color-dnd-active * {
2161
2171
  width: 1px;
2162
2172
  height: 24px;
2163
2173
  background: var(--default-border-color);
2164
- margin: 0 2px;
2165
2174
  flex-shrink: 0;
2166
2175
  }
2167
2176
  .excalidraw .mobile-toolbar-undo {
@@ -2175,22 +2184,251 @@ body.excalidraw-color-dnd-active * {
2175
2184
  height: 32px;
2176
2185
  }
2177
2186
 
2178
- /* components/FixedSideContainer.scss */
2179
- .excalidraw .FixedSideContainer {
2187
+ /* components/UIRegionLayout.scss */
2188
+ .excalidraw .ui-layout {
2189
+ --ui-layout-region-gutter-x: 8px;
2190
+ --ui-layout-region-gutter-y: 8px;
2180
2191
  position: absolute;
2192
+ box-sizing: border-box;
2193
+ inset: max(var(--editor-container-padding, 0px), env(safe-area-inset-top)) max(var(--editor-container-padding, 0px), env(safe-area-inset-right)) max(var(--editor-container-padding, 0px), env(safe-area-inset-bottom)) max(var(--editor-container-padding, 0px), env(safe-area-inset-left));
2194
+ display: grid;
2195
+ grid-template-rows: max-content minmax(min-content, 1fr) max-content;
2196
+ gap: 0.5rem;
2197
+ pointer-events: none;
2198
+ z-index: var(--zIndex-layerUI);
2199
+ }
2200
+ .excalidraw .ui-layout__row {
2201
+ display: flex;
2202
+ min-width: 0;
2203
+ min-height: 0;
2204
+ pointer-events: none;
2205
+ }
2206
+ .excalidraw .ui-layout__row--top,
2207
+ .excalidraw .ui-layout__row--bottom {
2208
+ column-gap: 0.5rem;
2209
+ }
2210
+ .excalidraw .ui-layout__row--top:has(.ui-layout__region--topCenter > .ui-layout__item:not(:empty)),
2211
+ .excalidraw .ui-layout__row--bottom:has(.ui-layout__region--bottomCenter > .ui-layout__item:not(:empty)) {
2212
+ display: grid;
2213
+ grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
2214
+ }
2215
+ .excalidraw .ui-layout__row--top:not(:has(.ui-layout__region--topCenter > .ui-layout__item:not(:empty))),
2216
+ .excalidraw .ui-layout__row--bottom:not(:has(.ui-layout__region--bottomCenter > .ui-layout__item:not(:empty))) {
2217
+ justify-content: space-between;
2218
+ }
2219
+ .excalidraw .ui-layout__row--middle {
2220
+ justify-content: space-between;
2221
+ }
2222
+ .excalidraw .ui-layout__region {
2223
+ box-sizing: border-box;
2224
+ display: flex;
2225
+ flex-direction: row;
2226
+ flex: 0 1 auto;
2227
+ gap: 0.5rem;
2228
+ margin: calc(-1 * var(--ui-layout-region-gutter-y)) calc(-1 * var(--ui-layout-region-gutter-x));
2229
+ padding: var(--ui-layout-region-gutter-y) var(--ui-layout-region-gutter-x);
2230
+ min-width: 0;
2231
+ min-height: 0;
2181
2232
  pointer-events: none;
2233
+ overflow: visible;
2234
+ }
2235
+ .excalidraw .ui-layout__region--topLeft,
2236
+ .excalidraw .ui-layout__region--topCenter,
2237
+ .excalidraw .ui-layout__region--topRight {
2238
+ align-items: flex-start;
2239
+ }
2240
+ .excalidraw .ui-layout__region--bottomLeft,
2241
+ .excalidraw .ui-layout__region--bottomCenter,
2242
+ .excalidraw .ui-layout__region--bottomRight {
2243
+ align-items: flex-end;
2244
+ }
2245
+ .excalidraw .ui-layout__region--topLeft,
2246
+ .excalidraw .ui-layout__region--bottomLeft {
2247
+ justify-content: flex-start;
2248
+ }
2249
+ .excalidraw .ui-layout__region--topRight,
2250
+ .excalidraw .ui-layout__region--bottomRight {
2251
+ justify-content: flex-end;
2252
+ margin-left: auto;
2253
+ }
2254
+ .excalidraw .ui-layout__row--top:has(.ui-layout__region--topCenter > .ui-layout__item:not(:empty)) .ui-layout__region--topLeft,
2255
+ .excalidraw .ui-layout__row--bottom:has(.ui-layout__region--bottomCenter > .ui-layout__item:not(:empty)) .ui-layout__region--bottomLeft {
2256
+ grid-column: 1;
2257
+ margin-left: calc(-1 * var(--ui-layout-region-gutter-x));
2258
+ }
2259
+ .excalidraw .ui-layout__row--top:has(.ui-layout__region--topCenter > .ui-layout__item:not(:empty)) .ui-layout__region--topCenter,
2260
+ .excalidraw .ui-layout__row--bottom:has(.ui-layout__region--bottomCenter > .ui-layout__item:not(:empty)) .ui-layout__region--bottomCenter {
2261
+ grid-column: 2;
2262
+ justify-content: center;
2263
+ justify-self: center;
2264
+ max-width: 100%;
2265
+ }
2266
+ .excalidraw .ui-layout__region--topCenter:has(> .ui-layout__item[data-ui-layout-item=toolbar][data-ui-orientation=horizontal]) {
2267
+ overflow: visible;
2268
+ }
2269
+ .excalidraw .ui-layout__region--topCenter > .ui-layout__item[data-ui-layout-item=toolbar][data-ui-orientation=horizontal] {
2270
+ max-height: none;
2271
+ overflow: visible;
2182
2272
  }
2183
- .excalidraw .FixedSideContainer > * {
2273
+ .excalidraw .ui-layout__row--top:has(.ui-layout__region--topCenter > .ui-layout__item:not(:empty)) .ui-layout__region--topRight,
2274
+ .excalidraw .ui-layout__row--bottom:has(.ui-layout__region--bottomCenter > .ui-layout__item:not(:empty)) .ui-layout__region--bottomRight {
2275
+ grid-column: 3;
2276
+ margin-left: calc(-1 * var(--ui-layout-region-gutter-x));
2277
+ justify-self: end;
2278
+ }
2279
+ .excalidraw .ui-layout__region--middleLeft {
2280
+ align-items: flex-start;
2281
+ justify-content: flex-start;
2282
+ margin-right: auto;
2283
+ }
2284
+ .excalidraw .ui-layout__item[data-ui-layout-item=stylesPanel] .App-menu__left {
2285
+ position: relative;
2286
+ }
2287
+ .excalidraw .ui-layout__region--middleRight {
2288
+ align-items: flex-end;
2289
+ justify-content: center;
2290
+ margin-left: auto;
2291
+ }
2292
+ .excalidraw .ui-layout__region--middleLeft,
2293
+ .excalidraw .ui-layout__region--middleRight {
2294
+ flex-direction: column;
2295
+ max-height: none;
2296
+ }
2297
+ .excalidraw .ui-layout__item {
2298
+ display: flex;
2299
+ flex: 0 0 auto;
2300
+ flex-direction: row;
2301
+ align-items: flex-start;
2302
+ max-width: 100%;
2303
+ min-width: 0;
2304
+ min-height: 0;
2305
+ overflow: visible;
2184
2306
  pointer-events: var(--ui-pointerEvents);
2185
2307
  }
2186
- .excalidraw .FixedSideContainer_side_top {
2187
- left: var(--editor-container-padding);
2188
- top: var(--editor-container-padding);
2189
- right: var(--editor-container-padding);
2190
- bottom: var(--editor-container-padding);
2308
+ .excalidraw .ui-layout__island-group.desktop-canvas-controls .reset-zoom-button {
2309
+ width: 3rem !important;
2310
+ padding-inline: 0.25rem !important;
2311
+ }
2312
+ .excalidraw .ui-layout__island-group.desktop-canvas-controls .view-mode-button button,
2313
+ .excalidraw .ui-layout__island-group.desktop-canvas-controls .smart-zoom-button button,
2314
+ .excalidraw .ui-layout__island-group.desktop-canvas-controls .zoom-button,
2315
+ .excalidraw .ui-layout__island-group.desktop-canvas-controls .undo-redo-buttons button,
2316
+ .excalidraw .ui-layout__island-group.desktop-canvas-controls .undo-button-container button,
2317
+ .excalidraw .ui-layout__island-group.desktop-canvas-controls .redo-button-container button {
2318
+ background-color: transparent !important;
2319
+ }
2320
+ .excalidraw .ui-layout__island-group.desktop-canvas-controls .zoom-actions,
2321
+ .excalidraw .ui-layout__island-group.desktop-canvas-controls .undo-redo-buttons {
2322
+ background-color: transparent;
2323
+ box-shadow: none;
2324
+ }
2325
+ .excalidraw .ui-layout__item[data-ui-orientation=vertical] {
2326
+ flex-direction: column;
2327
+ }
2328
+ .excalidraw .ui-layout__item[data-ui-orientation=vertical] > .layer-ui__wrapper__top-right {
2329
+ flex-direction: column;
2191
2330
  }
2192
- .excalidraw .FixedSideContainer_side_top.zen-mode {
2193
- right: 42px;
2331
+ .excalidraw .ui-layout__item[data-ui-orientation=vertical] .App-toolbar {
2332
+ flex-direction: column;
2333
+ max-height: none;
2334
+ overflow: visible;
2335
+ }
2336
+ .excalidraw .ui-layout__item[data-ui-orientation=vertical] .App-toolbar .Stack_horizontal {
2337
+ flex-direction: column;
2338
+ }
2339
+ .excalidraw .ui-layout__item[data-ui-orientation=vertical] .App-toolbar__divider {
2340
+ width: 1.5rem;
2341
+ height: 1px;
2342
+ }
2343
+ .excalidraw .ui-layout--mobile {
2344
+ --ui-layout-region-gutter-x: 3px;
2345
+ --ui-layout-region-gutter-y: 4px;
2346
+ z-index: var(--zIndex-ui-bottom);
2347
+ gap: 0;
2348
+ inset: 0 max(14px, env(safe-area-inset-right)) calc(env(safe-area-inset-bottom) + 0.5rem) max(14px, env(safe-area-inset-left));
2349
+ align-items: stretch;
2350
+ }
2351
+ .excalidraw .ui-layout--mobile .ui-layout__row--top,
2352
+ .excalidraw .ui-layout--mobile .ui-layout__row--bottom {
2353
+ column-gap: 6px;
2354
+ }
2355
+ .excalidraw .ui-layout--mobile .ui-layout__row--middle {
2356
+ column-gap: 6px;
2357
+ }
2358
+ .excalidraw .ui-layout--mobile .ui-layout__region--bottomLeft {
2359
+ flex: 1 1 0;
2360
+ display: flex;
2361
+ flex-direction: row;
2362
+ flex-wrap: wrap;
2363
+ align-content: flex-start;
2364
+ align-items: center;
2365
+ justify-content: flex-start;
2366
+ gap: 6px;
2367
+ max-width: 100%;
2368
+ }
2369
+ .excalidraw .ui-layout--mobile [data-ui-layout-item=stylesPanel] {
2370
+ max-width: 100%;
2371
+ }
2372
+ .excalidraw .ui-layout--mobile [data-ui-layout-item=toolbar] {
2373
+ flex: 0 0 100%;
2374
+ max-width: 100%;
2375
+ }
2376
+ .excalidraw .ui-layout--mobile [data-ui-layout-item=toolbar] > .App-toolbar {
2377
+ max-width: 100%;
2378
+ }
2379
+ .excalidraw .ui-layout--mobile .mobile-canvas-actions {
2380
+ margin: 0;
2381
+ }
2382
+ .excalidraw .ui-layout--mobile .mobile-canvas-actions,
2383
+ .excalidraw .ui-layout--mobile .mobile-canvas-actions .ToolIcon,
2384
+ .excalidraw .ui-layout--mobile .mobile-canvas-actions .ToolIcon__icon {
2385
+ border-radius: 5px;
2386
+ }
2387
+ .excalidraw .ui-layout--mobile .ui-layout__region--topLeft,
2388
+ .excalidraw .ui-layout--mobile .ui-layout__region--topRight {
2389
+ align-self: start;
2390
+ margin-top: 0;
2391
+ padding-top: calc(env(safe-area-inset-top) + var(--editor-container-padding));
2392
+ }
2393
+ .excalidraw .ui-layout--mobile .ui-layout__region--topRight {
2394
+ align-items: flex-end;
2395
+ }
2396
+ .excalidraw .ui-layout--mobile .ui-layout__region--bottomLeft {
2397
+ justify-self: start;
2398
+ }
2399
+ .excalidraw .ui-layout--mobile .ui-layout__region:not(.ui-layout__region--bottomLeft) {
2400
+ pointer-events: none;
2401
+ }
2402
+ .excalidraw .ui-layout--mobile .ui-layout__item[data-ui-layout-item=toolbar] .App-toolbar {
2403
+ width: 100%;
2404
+ overflow: visible;
2405
+ }
2406
+ .excalidraw .ui-layout--mobile .ui-layout__item[data-ui-layout-item=toolbar] .mobile-toolbar {
2407
+ overflow: visible;
2408
+ }
2409
+ .excalidraw .ui-layout--mobile .ui-layout__item[data-ui-layout-item=toolbar][data-ui-orientation=vertical] .mobile-toolbar {
2410
+ flex-direction: column;
2411
+ flex: 0 0 auto;
2412
+ align-items: stretch;
2413
+ overflow: visible;
2414
+ }
2415
+ .excalidraw .ui-layout--mobile .ui-layout__legacy-bottom-left .floating-status-stack {
2416
+ position: static;
2417
+ left: auto;
2418
+ right: auto;
2419
+ bottom: auto;
2420
+ }
2421
+ .excalidraw .ui-layout--mobile .ui-layout__legacy-bottom-left {
2422
+ flex: 0 0 100%;
2423
+ pointer-events: var(--ui-pointerEvents);
2424
+ }
2425
+ .excalidraw .ui-layout--mobile .ui-layout__region--topLeft,
2426
+ .excalidraw .ui-layout--mobile .ui-layout__region--topRight {
2427
+ z-index: var(--zIndex-ui-top);
2428
+ }
2429
+ .excalidraw .ui-layout--mobile .ui-layout__region--bottomLeft,
2430
+ .excalidraw .ui-layout--mobile .ui-layout__region--bottomRight {
2431
+ z-index: var(--zIndex-ui-bottom);
2194
2432
  }
2195
2433
 
2196
2434
  /* components/Modal.scss */
@@ -5183,7 +5421,6 @@ body.excalidraw-color-dnd-active * {
5183
5421
  display: flex;
5184
5422
  width: 100%;
5185
5423
  justify-content: flex-start;
5186
- margin-inline-end: 0.6rem;
5187
5424
  }
5188
5425
  .footer-center > * {
5189
5426
  pointer-events: var(--ui-pointerEvents);
@@ -6171,8 +6408,7 @@ body.excalidraw-cursor-resize * {
6171
6408
  flex-direction: row;
6172
6409
  gap: 6px;
6173
6410
  flex: 0 0 auto;
6174
- padding: 4px;
6175
- margin-bottom: 4px;
6411
+ padding: 0;
6176
6412
  pointer-events: var(--ui-pointerEvents);
6177
6413
  }
6178
6414
  .excalidraw .mobile-canvas-actions .view-mode-button button,
@@ -6445,6 +6681,9 @@ body.excalidraw-cursor-resize * {
6445
6681
  background-color: var(--color-surface-low);
6446
6682
  width: var(--lg-button-size);
6447
6683
  height: var(--lg-button-size);
6684
+ border-radius: var(--border-radius-lg);
6685
+ background-color: var(--island-bg-color);
6686
+ box-shadow: var(--shadow-island);
6448
6687
  }
6449
6688
  .excalidraw .help-icon svg {
6450
6689
  width: var(--button-width, var(--lg-icon-size));
@@ -6517,7 +6756,6 @@ body.excalidraw-cursor-resize * {
6517
6756
  font-size: 0.875rem;
6518
6757
  height: var(--lg-button-size);
6519
6758
  width: var(--lg-button-size);
6520
- margin-inline-start: 0.6em;
6521
6759
  }
6522
6760
  .excalidraw .smart-zoom-button button svg {
6523
6761
  width: var(--lg-icon-size);
@@ -6562,9 +6800,7 @@ body.excalidraw-cursor-resize * {
6562
6800
  .excalidraw .eraser-buttons {
6563
6801
  display: grid;
6564
6802
  grid-auto-flow: column;
6565
- margin-top: auto;
6566
- margin-bottom: auto;
6567
- margin-inline-start: 0.6em;
6803
+ margin-block: auto;
6568
6804
  }
6569
6805
  .excalidraw--mobile.excalidraw aside {
6570
6806
  display: none;