Skip to content

Commit

Permalink
[Docs] Mobile layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Navaneeth-pk committed Jun 3, 2021
1 parent d09e6ee commit 294540b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/docs/tutorial/mobile-layout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
sidebar_position: 8
---

# Mobile layout

Mobile layout is activated when the width of window is less than 600px.

:::tip
Widgets can be shown desktop, mobile or both.
:::

## Adding existing widget to mobile layout
Click on the widget to open inspector. Scroll down to the `layout` section and enable mobile layout. The width of the widget will be adjusted to fit the mobile layout.

## Adding a new widget to mobile layout
Switch the layout to mobile by clicking the button on the top navigation bar. Drag and drop a widget to the canvas. This widget will not be shown on desktop layout unless enabled the option manually.

:::tip
Width of the widgets will be automatically adjusted to fit the screen while viewing the application in app viewer.
:::

0 comments on commit 294540b

Please sign in to comment.