The "Mermaid Diagrams for Confluence" Addin seems to have an issue when extending Gantt charts to be wider or full width.
See example below using a chart definition from the Mermaid help page:

Other Mermaid chart types seem to correctly scale horizontally.
I'm using Microsoft Edge 110 on Windows 11.