Comments (4)
Hey Andreas,
Yeah, I did that purposely. The intention was to leave the ugly select box the way it was so it was consistent across all browsers (including the dreadful ie8).
To make the select consistent like the rest of the form elements, use custom select.
Eg:
<span class="select">
<select>
<option>option</option>
</select>
</span>
I think moving forward though, it would be a wise move to style the select to look more 'up to date' and consistent with the other form elements.
Please leave this with me as I create the updates for Base 2.6.8.
Cheers,
Matt
from base.
Hey Matt,
I've tested it on the demo site via developer tools. That's a quite simple workaround.
But why does the <select>
have width: 120%;
? That way the dropdown really is a lot wider than the actual custom select.
And I see styling the form fields in assets.less/sass
wouldn't be too hard I guess. But I'll wait for the 2.6.8 update first.
So, thanks for your reply.
Andreas
from base.
Hey Andreas,
Mainly due to the reason that I wanted all select elements to look consistent on all browsers.
The <span class="select"></span>
is a wrapper that styles the select shell. The inner <select>
has all styling removed.
In IE8, the arrow dropdown icon still shows, so I've added the width of 120% to hide the arrow (as <span class="select">
has an overflow: hidden;)
Hope this makes sense.
Cheers,
Matthew
from base.
Hi Andreas,
Base 2.6.8 has been released with the latest fixes.
Cheers,
Matthew
from base.
Related Issues (20)
- Grid containers variables are set twice in SCSS HOT 2
- !default in sass variables HOT 2
- Creating a bower package HOT 3
- Positioning helpers for different screen sizes HOT 2
- Layout classes HOT 2
- responsive nav bar HOT 2
- about _grid.less ? HOT 1
- Animation in your Docs HOT 1
- Update or remove the npm package? HOT 1
- Google Analytics Code HOT 2
- RTL Support HOT 2
- Issue with grid layout - negative float HOT 2
- Partials/Includes features HOT 4
- CSS import from @getbase/base/scss/index.scss is non-standard and breaks Jekyll and Webpack with extract-text-webpack-plugin HOT 2
- node_modules/@getbase/base: Command failed. HOT 4
- Demo page won't load in Chrome (70) due too mixed https/http requests HOT 1
- Make Gutter Variable Customisable HOT 1
- Removal of .less HOT 3
- Compiled version for distribution HOT 5
- Does base have any color system? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from base.