Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitb07f6a38233b570c4604e6cf2d853cfe3044a58f (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2016-04-23 08:35:25 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2016-04-23 08:35:25 +0800
Files9fbd2ec9e514a9e4830c1994c61a02cb8438dd79 /src
Spectre-Dark-Gruvbox-b07f6a38233b570c4604e6cf2d853cfe3044a58f.tar
Spectre-Dark-Gruvbox-b07f6a38233b570c4604e6cf2d853cfe3044a58f.tar.gz
Spectre-Dark-Gruvbox-b07f6a38233b570c4604e6cf2d853cfe3044a58f.zip
Parentcbafaf7c1d53fd4aa3ec8441b1f6a4aa218d7004 (diff)
fix .label-base
3 files changed, 4 insertions, 4 deletions
-rw-r--r--src/labels.less2
-rw-r--r--src/typography.less4
-rw-r--r--src/variables.less2
diff --git a/src/labels.less b/src/labels.less
index 2d9b6a9..223a4b3 100644
--- a/src/labels.less
+++ b/src/labels.less
@@ -2,7 +2,7 @@
.label {
background: @core-border-color;
color: lighten(@body-font-color, 20%);
- .label-base;
+ .label-base();
white-space: nowrap;
&.label-primary {
diff --git a/src/typography.less b/src/typography.less
index b0c4529..c16604f 100644
--- a/src/typography.less
+++ b/src/typography.less
@@ -79,7 +79,7 @@ ol {
mark,
.highlight {
background: lighten(@control-color-warning, 32%);
- .label-base;
+ .label-base();
}
// Code
@@ -94,7 +94,7 @@ pre {
}
code {
background: @core-border-color;
- .label-base;
+ .label-base();
white-space: nowrap;
pre & {
diff --git a/src/variables.less b/src/variables.less
index 197e3da..13f25e6 100644
--- a/src/variables.less
+++ b/src/variables.less
@@ -37,7 +37,7 @@
border-color: darken(@color, 2%);
color: @core-text-color;
}
-.label-base {
+.label-base() {
border-radius: .2rem;
display: inline;
font-size: 1em;