1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-08-30 09:20:02 +02:00

style(badges): lint fixes

This commit is contained in:
Igor Guastalla de Lima
2018-12-20 20:22:31 -02:00
parent 911f281b47
commit 66f8ecdd88
2 changed files with 5 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
import { storiesOf } from '@storybook/html'; // eslint-disable-line import/no-extraneous-dependencies
import { // eslint-disable-line import/no-extraneous-dependencies
withKnobs, radios, boolean, number
withKnobs, radios, boolean, number,
} from '@storybook/addon-knobs';
const stories = storiesOf('Badges', module);

View File

@@ -35,25 +35,22 @@
}
}
@mixin setup($px) {
}
// Default style
.nes-badge {
$em: 0.75em;
width: $em * 14;
height: $em;
font-size: $em * 1.2;
position: relative;
display: inline-block;
width: $em * 14;
height: $em;
padding: 0.75em;
margin: 0.5em;
font-size: $em * 1.2;
text-align: center;
white-space: nowrap;
vertical-align: middle;
cursor: $cursor-click-url, pointer;
user-select: none;
@include setup(7px);
// Other styles
// prettier-ignore