Skip to content

Instantly share code, notes, and snippets.

@productioncoder productioncoder/Home.js
Last active Oct 3, 2018

Embed
What would you like to do?
Adapt margins in home component
import React from 'react';
import {VideoPreview} from '../../components/VideoPreview/VideoPreview';
import './Home.scss';
export class Home extends React.Component {
render() {
return (
<div className='home'>
<VideoPreview />
</div>
);
}
}
@import '../../styles/shared.scss';
.home {
margin-top: $header-nav-height;
margin-left: $sidebar-left-width;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.