Skip to content

Commit

Permalink
Merge branch 'fix'; tag v5.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Harvey committed Jul 26, 2017
2 parents 045c9cb + 3f96c04 commit ea96028
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xmeter",
"version": "5.7.1",
"version": "5.7.2",
"description": "A default stylesheet with a set of tools that make designing with vertical rhythm easy.",
"main": "xmeter.css",
"dependencies": {},
Expand Down
1 change: 1 addition & 0 deletions src/__tool.fontsize.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmeter | __tool.fontsize.less
\*################################*/
@import (reference) url('__settings.less');
@import (reference) url('__tool.vertspacing.less');


// Sets the font size of a module while preserving vertical rhythm.
Expand Down
10 changes: 9 additions & 1 deletion src/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,13 @@ br {
code, kbd, samp {
font-size: (@g-font_size_mill * 1em);
white-space: nowrap;
code, kbd, samp {
& & {
font-size: inherit; // undo compounding font sizes
}
pre & {
white-space: inherit; // HACK fallback
white-space: unset; // sometimes people put a `code` in a `pre` // override `nowrap` above
}
}
code {
}
Expand Down Expand Up @@ -406,6 +410,10 @@ textarea {
.font-size-mod(@g-font_size_mill);
}

input[type="button"],
input[type="reset"],
input[type="submit"],
button,
label {
cursor: pointer;
}
Expand Down
20 changes: 15 additions & 5 deletions xmeter.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*\
xmeter
Version: 5.7.1
Version: 5.7.2
Licence: MIT
Repo : https://github.com/chharvey/xmeter.git
Home : https://github.com/chharvey/xmeter#readme
Expand Down Expand Up @@ -803,16 +803,22 @@ samp {
white-space: nowrap;
}
code code,
kbd code,
samp code,
code kbd,
kbd kbd,
samp kbd,
code samp,
kbd code,
kbd kbd,
kbd samp,
samp code,
samp kbd,
samp samp {
font-size: inherit;
}
pre code,
pre kbd,
pre samp {
white-space: inherit;
white-space: unset;
}
fieldset {
padding: 0 1rem;
}
Expand Down Expand Up @@ -872,6 +878,10 @@ textarea h1 {
padding-top: 1.125rem;
padding-top: var(--vru);
}
input[type="button"],
input[type="reset"],
input[type="submit"],
button,
label {
cursor: pointer;
}
Expand Down
2 changes: 1 addition & 1 deletion xmeter.less
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*\
xmeter
Version: 5.7.1
Version: 5.7.2
Licence: MIT
Repo : https://github.com/chharvey/xmeter.git
Home : https://github.com/chharvey/xmeter#readme
Expand Down
2 changes: 1 addition & 1 deletion xmeter.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion xmeter.min.css.map

Large diffs are not rendered by default.

1 comment on commit ea96028

@chharvey
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.