Skip to main content
Skip table of contents

Making Gliffy macros resizable

When a Gliffy macro is displayed in Viewport, it has a fixed width and does not scale with window dimensions. In order to automatically scale the image, you need to apply the following CSS.

Creating macro override for Gliffy

Create a stylesheet or edit an existing one, and add this code into the stylesheet:

CODE
.gliffy-container {
   width: auto !important;
}
.gliffy-image {
   height: auto;
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.