Home Increase font-size dropdown menu, Safari and Firefox. Rails and CSS
Reply: 0

Increase font-size dropdown menu, Safari and Firefox. Rails and CSS

Nukio
1#
Nukio Published in 2017-11-09 15:39:34Z

I'm trying to increase the font size from the text on the dropdown I used inline styles on the div.select but It just works on Chrome, in safari and firefox just can see increased the placeholder from the select tag, but not the content of the dropdown. I would like to know how I can edit the options tag inside the dropdown for Safari and Firefox so I can increase the font size of the dropdown content in every common browser.

<div class="col-sm-8 col-md-9 col-xs-12">
   <div class="select-wrapper">
       <div class="select" style="font-size:30px;">
         <% options = ["Please select"] + Company::COMPANY_TYPES%>
         <%= company_form.select :company_type, options.collect {|type| [type, type.downcase]} %>
       </div>
   </div>
</div>
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.347405 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO