mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-30 13:56:58 -04:00
Center align submit button
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
module.exports = {
|
||||
name: 'submit',
|
||||
template: require('../../templates/components/submit.tpl'),
|
||||
style: require('../../styles/clay/components/submit.scss'),
|
||||
manipulator: 'html',
|
||||
defaults: {
|
||||
attributes: {}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
.component-submit {
|
||||
text-align: center;
|
||||
}
|
||||
@@ -9,7 +9,7 @@ button,
|
||||
font-size: 1rem;
|
||||
line-height: 1;
|
||||
border: none;
|
||||
display: block;
|
||||
display: inline-block;
|
||||
|
||||
color: $color-white;
|
||||
min-width: 12rem;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="component component-button">
|
||||
<div class="component component-submit">
|
||||
<button
|
||||
data-manipulator-target
|
||||
type="submit"
|
||||
|
||||
Reference in New Issue
Block a user