---
title: "Layout, MailKaro Docs"
description: "Layout in MailKaro: the canvas width adapts to the builder you're in. For React, Vue, Angular and plain JavaScript."
---

# Layout

Appearance

# Layout

The canvas width adapts to the builder you're in.

- Email, ~600px (inbox-safe)
- Page (`web`), ~1024px
- Document, ~880px including padding
- Popup, ~520px (centered modal)

The width follows `config.builder` / `options.displayMode`, see [Builders](https://docs.mailkaro.com/email-builder). A row's content width is also editable per design.

## Widths in the code

When a `page`, `document` or `popup` editor opens on a design with no rows, it sets `content_width` once: 1024px for a page, 880px for a document (a US Letter page of about 816px plus room for padding) and 520px for a popup. An email design keeps the width it has, and a design that already has rows is never widened.

## Limits

- `body.content_width` is a number of pixels from 320 to 1200.
- `content_align` places the content `left`, `center` (the default) or `right`.
- Below `mobile_breakpoint` (620px when unset) the email switches to its mobile layout.
- A column's `width` is a percentage of its row, from 0 to 100.

The full list of body fields is on the [design object](https://docs.mailkaro.com/design-object) page.

Source: https://docs.mailkaro.com/layout
