Skip to content

Instantly share code, notes, and snippets.

@Pitmairen
Last active October 31, 2017 20:49
Show Gist options
  • Save Pitmairen/0581a6dde57f2067136fbd30d8acb16d to your computer and use it in GitHub Desktop.
Save Pitmairen/0581a6dde57f2067136fbd30d8acb16d to your computer and use it in GitHub Desktop.
Selection search rows and columns
.popup .engine-name, .popup.mainmenu > li:first-child{
display: none;
}
.popup a, .popup li{
display: inline-block; padding: 0.2em;
}
.popup img{
margin: 0; padding: 0;
}
.popup {
width: auto;
padding: 0.1em;
}
.popup .engine-separator{
width: 1px; height: 20px; margin: 0 3px 3px 3px; padding: 0; vertical-align: middle;
}
.popup {
width: 140px; /* Modify this to change the width of the popup */
}
.popup li {
box-sizing: border-box;
width: 25%; /* Modify this to change the number of columns. 25% = 4 columns, 33% = 3 columns, etc.*/
text-align: center;
}
/*CONFIG_START{"submenu_position":"topright","submenu_corner":"bottomleft"}CONFIG_END*/
.popup .engine-name, .popup.mainmenu > li:first-child{
display: none;
}
.popup a, .popup li{
display: inline-block; padding: 0.2em;
}
.popup img{
margin: 0; padding: 0;
}
.popup {
width: auto;
padding: 0.1em;
border-radius: 4px;
}
.popup .engine-separator{
width: 1px; height: 20px; margin: 0 3px 3px 3px; padding: 0; vertical-align: middle;
}
.popup {
width: 140px; /* Modify this to change the width of the popup */
}
.popup li {
box-sizing: border-box;
width: 25%; /* Modify this to change the number of columns. 25% = 4 columns, 33% = 3 columns, etc.*/
text-align: center;
}
/*CONFIG_START{"submenu_position":"topright","submenu_corner":"bottomleft"}CONFIG_END*/
.mainmenu > li:first-child{
display: none;
}
.popup{
width: 300px;
}
.popup li {
width: 25%;
box-sizing: border-box;
display: inline-block;
}
.popup a{
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment