Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Fixes padding on some buttons, e.g. Preview #354

Merged
merged 1 commit into from

2 participants

@akerbos

Input type button had different padding than other buttons (submit, reset, ...) which looked odd when they are next to each other, e.g. when editing a page.

@akerbos akerbos Fixes padding on buttons
Input type `button` had different padding than other buttons (`submit`, `reset`, ...) which looked odd when they are next to each other, e.g. when editing a page.
7959c6b
@jgm jgm merged commit 9e96f92 into jgm:master
@akerbos akerbos deleted the akerbos:patch-1 branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 13, 2013
  1. @akerbos

    Fixes padding on buttons

    akerbos authored
    Input type `button` had different padding than other buttons (`submit`, `reset`, ...) which looked odd when they are next to each other, e.g. when editing a page.
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  data/static/css/screen.css
View
2  data/static/css/screen.css
@@ -46,7 +46,7 @@ sup { vertical-align: super; }
sub { vertical-align: sub; }
sub, sup { line-height: 0.3em; }
p, fieldset, table, pre { margin-bottom: 1em; }
-button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"] { padding: 1px; }
+button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"], input[type="button"] { padding: 1px; }
blockquote { padding: 0 1.6em; color: #666; }
Something went wrong with that request. Please try again.