Kindly EditDocumentationTry the editor

Width, height, and aspect ratio

Understand preferred size, minimum and maximum limits, inline layout, and image frames.

The size table#

In Style → Size, Width and Height sit side by side on three rows: Size, Min and Max (0.9.15 names). These map to width/height, min-width/min-height, and max-width/max-height. Each value has its own reset and supported units. In Developer mode you can also drag the square on the selected element's bottom-right corner for its width and minimum height; see Spacing on the page.

A minimum larger than a maximum is a conflict: CSS lets the minimum win. The inspector reports this instead of silently changing either value. A measured browser width is not necessarily an authored width; the theme and parent layout may have produced it.

Inline elements#

Ordinary inline text does not take width and height in the same way as a box. The inspector can offer Use Inline block for Display when that is the reason a size has no effect. Flex and grid children can have different sizing behavior because their parent participates in sizing them.

Aspect ratio#

Choose Square, 4:3, 3:2, 16:9, 21:9, or a portrait ratio where the element supports a meaningful shape; each choice is drawn as a rectangle beside its name. Aspect ratio is not offered for anything that holds only words, or for lists, tables and lines (0.9.15). A picture's shape is easiest to set with its Crop shapes; see Pictures. If a fixed height or surrounding frame prevents that ratio from appearing, the inspector explains the measured conflict and offers only adjustments it determines can affect the visible result.

Picture fit#

For pictures and video elements with a defined box, Fit can crop to cover, contain the whole image, stretch, scale down, or preserve original size; each choice is drawn in a small frame. For a picture, Crop chooses which part stays visible and how far it is zoomed; the older Focus choice still shows for a picture that already has one. Changing fit without a constrained box may have little visible effect.

Section width#

Changing a section’s width also narrows its background. If you want a full-width background with narrower words, select its inner content box and change that box’s width or maximum width.

Overflow#

Visible leaves overflow visible, Hidden clips it, Scroll when needed scrolls only when the content does not fit, and Always scroll always provides scrolling. Each choice is drawn as content spilling out or cut off. Pictures, video and tables have no Overflow setting. Check focusable content before clipping: a hidden edge can make a link or control difficult to use.

About this page

Documents Kindly Edit 0.9.16. Source: assets/editor.js:developerSizePanel, assets/editor.js:shapeConflict. Theme choices and account permissions can change which controls appear.

Type a word or phrase to search the full documentation.