1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00

removing html data property on base elemenet used for testing and removing double string interpolation in font function

This commit is contained in:
Alex Windett 2017-01-10 13:20:33 +00:00
parent 999c3facf2
commit 8f75a6fd6e
2 changed files with 7 additions and 7 deletions

View File

@ -22,16 +22,16 @@ const generateFonts = (fontFamilies, fontFilenames) => {
fontCSS += `
@font-face {
font-family: ${fontFamily};
src: url(${pathToFont}${fontFilenames[i]}.eot);
src: url(${pathToFont}${fontFilenames[i]}.eot?#iefix)
src: url(${pathToFont + fontFilenames[i]}.eot);
src: url(${pathToFont + fontFilenames[i]}.eot?#iefix)
format('embedded-opentype');
src: url(${pathToFont}${fontFilenames[i]}.woff)
src: url(${pathToFont + fontFilenames[i]}.woff)
format('woff');
src: url(${pathToFont}${fontFilenames[i]}.woff2)
src: url(${pathToFont + fontFilenames[i]}.woff2)
format('woff2');
src: url(${pathToFont}${fontFilenames[i]}.ttf)
src: url(${pathToFont + fontFilenames[i]}.ttf)
format('truetype');
src: url(${pathToFont}${fontFilenames[i]}.svg#${fontFamily})
src: url(${pathToFont + fontFilenames[i]}.svg#${fontFamily})
format('svg');
font-weight: normal;
font-style: normal;

View File

@ -66,7 +66,7 @@ const styles = {
storiesOf('Grid', module)
.add('Row and Column', () => (
<Base data-id="base">
<Base>
<Container fluid>
<Row>
<Column