Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/retypeapp/retype
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreymcgill committed Jul 25, 2023
2 parents 6ab2f14 + a7c1612 commit 5b4ceb2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ layout: page
---
# Retype Software License Agreement

#### Version 2.4.0
#### Version 3.1.0

THIS DOCUMENT IS A LEGAL AGREEMENT (the "License Agreement") BETWEEN OBJECT.NET, INC. ("We," "Us")
AND YOU OR THE ORGANIZATION ON WHOSE BEHALF YOU ARE UNDERTAKING THE LICENSE DESCRIBED BELOW ("You",
Expand Down
26 changes: 26 additions & 0 deletions components/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,29 @@ Being a separate **.css** file, web browsers will automatically cache the file,
!!!danger
Retype does not validate any of the custom HTML added to the **_includes/head.html**. It is up to you to ensure this HTML is correct and does not interfere or break anything within the website.
!!!

## Samples

### Center on Page

Text, a [Button](button.md), or any similar Retype component, can be center aligned on the page by nesting the component inside a Container and applying the `content-center` css class.

The following samples demonstrate center alignment of a Button and Text:

:::content-center
[!button My Button]
:::

:::content-center
This text should be centered :+1:
:::

```
:::content-center
[!button My Button]
:::
:::content-center
This text should be centered :+1:
:::
```

0 comments on commit 5b4ceb2

Please sign in to comment.