Closed nd0ut closed 4 months ago
The recent updates to the CloudImageEditor module focus on refining the user interface and enhancing the initial state setup. Key changes include styling adjustments for various controls and icons, a simplified icon sizing approach, and initializing the imageSize
state with a default object. Additionally, SVG symbols for various icons have been introduced for more versatile icon usage.
Files | Summary |
---|---|
blocks/.../css/common.css |
Styling changes for controls and icons, including width and height adjustments. |
blocks/.../css/icons.css |
Simplified icon CSS rules, setting fixed width and height values of 20px for icons. |
blocks/.../css/index.css |
Removed the import of icons.css and retained the import of common.css . |
blocks/.../elements/button/LrBtnUi.js |
Removed size="20" attribute from <lr-icon> element in the template. |
blocks/.../svg-sprite.js |
Introduced multiple SVG symbols with various icons for use in the application. |
blocks/.../state.js |
Changed imageSize initialization to { width: 0, height: 0 } instead of null . |
🐇 In the realm of code so bright, Icons set to twenty's height. Controls refined, a sleeker view, Image size now starts anew. SVG sprites, a symbol's cheer, CloudImageEditor shines clear! 🌟
Description
Checklist
Summary by CodeRabbit
New Features
Style
Refactor