Skip to content
This repository

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

Merged
merged 1 commit into from about 1 year ago

2 participants

Raphael John MacFarlane
Raphael

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.

Raphael 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
John MacFarlane jgm merged commit 9e96f92 into from March 19, 2013
John MacFarlane jgm closed this March 19, 2013
Raphael akerbos deleted the branch March 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Mar 13, 2013
Raphael 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
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  data/static/css/screen.css
2  data/static/css/screen.css
@@ -46,7 +46,7 @@ sup { vertical-align: super; }
46 46
 sub { vertical-align: sub; }
47 47
 sub, sup { line-height: 0.3em; }
48 48
 p, fieldset, table, pre { margin-bottom: 1em; }
49  
-button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"] { padding: 1px; }
  49
+button, input[type="checkbox"], input[type="radio"], input[type="reset"], input[type="submit"], input[type="button"] { padding: 1px; }
50 50
 
51 51
 blockquote { padding: 0 1.6em; color: #666; }
52 52
 
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.