Skip to content

Instantly share code, notes, and snippets.

Last active Oct 3, 2018
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 />
@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