Skip to content

Instantly share code, notes, and snippets.

@ds0nt
Last active August 29, 2015 14:20
Show Gist options
  • Save ds0nt/6d635ad943613ecb8ae5 to your computer and use it in GitHub Desktop.
Save ds0nt/6d635ad943613ecb8ae5 to your computer and use it in GitHub Desktop.
Atom - Top Overlay Grid
.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;
}
}
}
@ds0nt
Copy link
Author

ds0nt commented May 4, 2015

Usage:
Click the "Edit" Dropdown -> Open Your Stylesheet
Paste in the snippet above.

ctrl+s; saved
ctrl+p to test;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment