Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix(ui): prevent toolbar icons from shrinking (#7682)
白熱51ccf3a4ddb8
diff --git a/packages/ui/src/views/components/ribbon/ToolbarButton.tsx b/packages/ui/src/views/components/ribbon/ToolbarButton.tsxindex 2d8469db2a..d612d27be8 100644--- a/packages/ui/src/views/components/ribbon/ToolbarButton.tsx+++ b/packages/ui/src/views/components/ribbon/ToolbarButton.tsx@@ -58,6 +58,7 @@ univer-text-gray-900 univer-outline-none univer-transition-colors univer-animatedark:!univer-text-gray-0 dark:hover:!univer-bg-gray-700 dark:disabled:!univer-text-gray-600disabled:univer-cursor-not-allowed disabled:univer-text-gray-300 disabled:hover:univer-bg-transparenthover:univer-bg-gray-100 whitespace-nowrap univer-w-max+[&_svg]:univer-shrink-0`;export const toolbarButtonVariants = cva(toolbarButtonClassName, {