Created
June 25, 2018 14:55
-
-
Save rodrigojv/56e7eeac5b342e39ccb1357b3be9a5ea to your computer and use it in GitHub Desktop.
Toolbar styled component example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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