Skip to content

Instantly share code, notes, and snippets.

@rodrigojv
Created June 25, 2018 14:55
Show Gist options
  • Select an option

  • Save rodrigojv/56e7eeac5b342e39ccb1357b3be9a5ea to your computer and use it in GitHub Desktop.

Select an option

Save rodrigojv/56e7eeac5b342e39ccb1357b3be9a5ea to your computer and use it in GitHub Desktop.
Toolbar styled component example
import styled from "styled-components";
const ToolBarWrapper = styled.div`
position: absolute !important; right: 12px; top: 87px; max-width: 40px; padding: 1rem 0 0.5rem 0!important; z-index: 10000;
a{
width: 40px;
display: block;
text-align: center;
padding-bottom: 0.5rem;
color: #ffd50e !important;
a:hover{
color: #fff3aa !important;
}
`;
// luego más abajo en el método render
<ToolBarWrapper className="box hero is-info is-bold">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment