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: toolbar width (#4053) (#4208)
Jelff23a0246007b
diff --git a/packages/ui/src/views/components/ribbon/Ribbon.tsx b/packages/ui/src/views/components/ribbon/Ribbon.tsxindex 476780845c..62ea6701ec 100644--- a/packages/ui/src/views/components/ribbon/Ribbon.tsx+++ b/packages/ui/src/views/components/ribbon/Ribbon.tsx@@ -215,8 +215,8 @@ export function Ribbon(props: IRibbonProps) {style={{position: 'absolute',top: -9999,- left: -9999,- opacity: 0,+ left: 0,+ right: 0,// top: 0,// left: 0,// opacity: 1,diff --git a/packages/ui/src/views/components/ribbon/index.module.less b/packages/ui/src/views/components/ribbon/index.module.lessindex 70b7c620fb..f0a73cceff 100644--- a/packages/ui/src/views/components/ribbon/index.module.less+++ b/packages/ui/src/views/components/ribbon/index.module.less@@ -86,6 +86,7 @@border-bottom: 1px solid rgb(var(--border-color));&-container {+ flex: 1;padding: 0 var(--padding-lg);display: flex;gap: var(--margin-xs);