Last active
August 29, 2015 14:20
-
-
Save ds0nt/6d635ad943613ecb8ae5 to your computer and use it in GitHub Desktop.
Atom - Top Overlay Grid
This file contains 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
.overlay.from-top { | |
transform: translate(-50%, 0); | |
width: 80%; | |
bottom: 10%; | |
margin-left: 0; | |
overflow-y: auto; | |
ol { | |
max-height: 100%; | |
display: flex; | |
flex-flow: row wrap; | |
justify-content: space-around; | |
align-items: stretch; | |
margin: -1em 0 0 -1em !important; | |
li { | |
flex: 1 25%; | |
align-self: auto; | |
align-content: center; | |
// margin: auto; /* Magic! */ | |
// padding: 1em 0 0 1em !important; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Usage:
Click the "Edit" Dropdown -> Open Your Stylesheet
Paste in the snippet above.
ctrl+s; saved
ctrl+p to test;