dobtco / dvl-core

Base styles for the DOBT View Layer.
https://design.dobt.co/
1 stars 1 forks source link

Fix overflow for full-width styled selects #94

Closed jrubenoff closed 9 years ago

jrubenoff commented 9 years ago

Fix this nightmare from SWFF:

screen shot 2015-05-21 at 4 58 02 pm

We can absolutely position the select because we already specify the height and width of .styled_select_wrapper.

ajb commented 9 years ago

I don't follow the logic with this being a dvl-core fix. It looks like that bug is because the wrapping element is display: table, which follows weird logic when it comes to widths.

How about table-layout: fixed; on the parent element inside of Screendoor? Gratuitous screencast: http://take.ms/5vfoz

jrubenoff commented 9 years ago

Sure, definitely a better solution.