uidaholib / collectionbuilder-cdm-template

template used to build digital collection sites at University of Idaho Library
https://www.lib.uidaho.edu/digital/
MIT License
3 stars 8 forks source link

responsive width feature includes #88

Closed evanwill closed 4 years ago

evanwill commented 4 years ago

@owikle @dcnb Do we want to use % or col numbers? (I think just a handful matching bs % utilities, "25", "50", "75", or "100")

Do we want to support a few options (mainly just one breakpoint) or all breakpoints? (I think just one breakpoint).

Is the responsive always applied or is there a use for some things actually not being responsive (i.e. do we just use the current include option width="50", or does it have to be responsive-width=)? ( think just make all responsive using current option)

e.g. w-50 simple matching col-md-6:

.feature-50 { width: 100%; }
@media (min-width: 768px)
.feature-50 {
    width: 50%;
}
}

(other option examples, https://github.com/twbs/bootstrap/issues/21943#issuecomment-287653094 )

evanwill commented 4 years ago

actually, don't need the width:100% because div is already that in bs, but should make the float responsive too, so that it doesn't act weird on mobile.

check out responsive features branch, https://github.com/uidaholib/collectionbuilder-cdm-template/tree/responsive-features