Closed bryanwillis closed 8 years ago
@bryanwillis If I understand you correctly it sounds like this is a problem at the Bootstrap level, is that correct?
If so, I'm not sure if we want to put the fix in on this project or if we want to bring it up on the Bootstrap project.
My original goal with this theme was to include no original CSS and do all styling by manipulating the markup to work with Bootstrap. My thinking here was this should make updating the Bootstrap component as easy as possible. It has been necessary to add some non-Bootstrap CSS to handle things like Widgets and the Genesis Pagination markup not matching the Bootstrap markup 100%. That said, I still like the idea of avoiding adding CSS unless absolutely necessary.
Are there improvements we can make to the markup to help these areas render better or do you think these need to be CSS fixes?
I'm open to changing markup but I'd like to let the Bootstrap CSS style this form.
I'm not familiar with a markup change that will improve this rendering but if someone has a suggestion, feel free to re-open this issue.
This has to do with the search form added here
Been meaning to get back to this for awhile, but kept forgetting about it. The 1% width
.input-group-button
isn't getting priority over the auto width in the media query so it's not being displayed right.So it's looking like this:
Instead of being full-width on all displays like this:
There are are a lot of ways to fix this.
1) Just target 768px as it seems to be only one affected:
2) Use the sibling selector which will get priority:
3) Use !important (hacky solution):
On a side note from the search bar width, we also might still need to move the glyphicon search icon down another pixel, at least the way I'm seeing it. This could possibly be retina mac display only though.
Alternatively, we could fix both of these issues using flexbox. While the code here is the longest it is also way cleaner than bootstraps 1% width hack.