fix css sidebar widget selectors

This commit is contained in:
Evan Mullins 2020-02-13 15:47:59 +01:00
parent 9ab593a167
commit c5d2433483

View file

@ -5,7 +5,7 @@
Author: Evan Mullins
Author URI: https://circlecube.com
Template: twentynineteen
Version: 1.7.1
Version: 1.7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wasmo
@ -216,12 +216,16 @@ body.logged-in .menu-item.logged-in {
/* directory widget */
.widget .the-directory {
margin: 0 auto 2rem;
}
.widget .the-directory .directory {
grid-template-columns: repeat(2, 1fr);
}
@media only screen and (min-width: 768px) {
/* desktop - sidebar */
.widget .the-directory {
margin: 0 auto 2rem;
}
.widget .the-directory .directory {
grid-template-columns: repeat(3, 1fr);
}
}