justintadlock / butterbean

A neat little post meta framework.
GNU General Public License v2.0
204 stars 31 forks source link

css: clear floats in the manager #30

Closed m-e-h closed 7 years ago

m-e-h commented 7 years ago

My manager collapsed when I took the overflow: hidden off of it. Not sure if you have a way of handling floats but here's how I fixed it

.butterbean-manager-default::before,
.butterbean-manager-default::after {
    content: "";
    display: table;
}

.butterbean-manager-default::after {
    clear: both;
}

FWIW, my personal preference would be to get rid of the floats all together and do

.butterbean-manager-default {
    display: flex;
        flex-wrap: wrap;
}

But that's just me and I reckon some browsers are still weird. :neckbeard: