1.0.2 • Published 3 years ago

@watheia/micro.base-ui.layout.page-frame v1.0.2

Weekly downloads
-
License
EPL-2.0
Repository
gitlab
Last release
3 years ago

Page frame

CSS components for readable columns.

centerColumn - main display width for most content, including images and text.

wideColumn - 'extra wide' display width, e.g. when putting large elements side by side.

textColumn - display width for readable areas. (headlines, paragraphs, etc)

Example

import { centerColumn, wideColumn, textColumn } from '@bit/bit.base-ui.layout.page-frame';

// ...

<div className={centerColumn}>
	normal content

	<div className={textColumn}>nice title</div>
	<div className={textColumn}>
		Lorem ipsum dolor sit amet, consectetur adipiscing elit.
		Suspendisse et sodales diam, sed sodales tellus.
		Nam sodales interdum dolor, eget euismod purus.
	</div>
<div>

<div className={wideColumn}>
	Content breaking out of regular layout
	{/* ... */}
<div>