excalidraw/public
Aakansha Doshi c54a099010
feat: Calculate `width/height` of canvas based on container dimensions (".excalidraw" selector) & remove props width & height (#3379)
* Remove width/height from the ".excalidraw" container so it will sized automatically.
* updated all ref calculation to ".excalidraw" instead of parent since now ".excalidraw" will get resized
* Remove props width/height as its not needed anymore.
* Resize handler is also not needed anymore.
* Position absolute canvas due to #3379 (comment)

* move css to style and remove one extra rerendering

* factor out mock logic for test

* set height, width so as to avoid unnecessary updates of regression snap

* better mock

* better type checking and omit width,height from getDefaultAppState and also restore

* revert

* default to window dimensions in constructor

* update docs

* update

* update

* tweaks
2021-04-04 15:05:16 +05:30
..
workbox chore: host workbox locally (#3154) 2021-03-02 19:36:28 +01:00
Cascadia.ttf fix(fonts): move fonts to public folder so that its served as static assets via cra & works in export (#2264) 2020-10-21 22:50:57 +02:00
Cascadia.woff2 fix(fonts): move fonts to public folder so that its served as static assets via cra & works in export (#2264) 2020-10-21 22:50:57 +02:00
FG_Virgil.ttf fix(fonts): move fonts to public folder so that its served as static assets via cra & works in export (#2264) 2020-10-21 22:50:57 +02:00
FG_Virgil.woff2 fix(fonts): move fonts to public folder so that its served as static assets via cra & works in export (#2264) 2020-10-21 22:50:57 +02:00
Virgil.woff2 feat: Use the latest version of Virgil (#3124) 2021-02-28 13:22:32 +01:00
_headers Add headers for Netlify (#602) 2020-01-28 21:15:24 +02:00
apple-touch-icon.png improvement: Perform lossless compression on all PNG images (#2740) 2021-01-07 18:04:28 +02:00
favicon.ico Add new favicon (#786) 2020-02-21 10:39:09 +01:00
fonts.css feat: Use the latest version of Virgil (#3124) 2021-02-28 13:22:32 +01:00
index.html feat: Calculate `width/height` of canvas based on container dimensions (".excalidraw" selector) & remove props width & height (#3379) 2021-04-04 15:05:16 +05:30
logo-180x180.png improvement: Perform lossless compression on all PNG images (#2740) 2021-01-07 18:04:28 +02:00
manifest.json feat: Implement the Web Share Target API (#3230) 2021-03-13 22:42:54 +01:00
og-image-sm.png docs: Update readme with documentation (#2788) 2021-01-14 18:31:52 +02:00
og-image.png improvement: Perform lossless compression on all PNG images (#2740) 2021-01-07 18:04:28 +02:00
robots.txt Add robots.txt (#1965) 2020-07-26 21:04:38 +02:00