Skip to content

Commit

Permalink
Center text for alert -block.
Browse files Browse the repository at this point in the history
Resolves #172.
  • Loading branch information
srph committed Nov 18, 2015
1 parent f560e12 commit 500e927
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/dist/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -27387,7 +27387,7 @@
_react2["default"].createElement(
"p",
null,
"Use as a container for a form element."
"Used as a container for a form element."
),
_react2["default"].createElement(
"section",
Expand Down Expand Up @@ -27999,7 +27999,7 @@
_react2["default"].createElement(
"p",
null,
"Useful when you'd like to use the whole space without the border and radius. Simply apply the .-block class."
"Useful when you'd like to use a more emphasized alert (for example, growl)."
),
_react2["default"].createElement(
"div",
Expand Down
1 change: 1 addition & 0 deletions docs/dist/style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/sections/Docs-Alerts/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class Alerts extends React.Component {

<section className="doc-bottom-space-large">
<h3 className="doc-heading">Example: Block</h3>
<p>Useful when you'd like to use the whole space without the border and radius. Simply apply the .-block class.</p>
<p>Useful when you'd like to use a more emphasized alert (for example, growl).</p>
<div className="alert -emerald -block">
Oh snap! Change a few things up and try this submitting again.
</div>
Expand Down
1 change: 1 addition & 0 deletions styles/components/_alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
}

&.-block {
text-align: center;
border: 0;
border-radius: 0;
}
Expand Down

0 comments on commit 500e927

Please sign in to comment.