Comments (7)
Just out of curiosity - why is the class invite__button being used to override the button themes? This seams redundant. Since .btn
already exists, why not use that class?
from stem.
it's a holdover from the early implementation, and you're right; it shouldn't be needed.
from stem.
Ok, cool. I'll clean those up.
One other small note - Due to the fact that the standard buttons don't have borders, the height and width of the standard buttons, compared to the transparent buttons, is 4px less (because of the 2px border on each side).
Example: (It's also a bit strange that the transparent button is rendered slightly above the standard one). This image was taken from the updated docs on my branch
Of course, this can be fixed, just let me know if it is important enough to tackle. I briefly tried to add a border to all buttons to keep the size consistent, but this caused other styling issues.
from stem.
Good to check, and it's definitely not acceptable for the buttons to have different sizes. Seems like it ought to be simple enough to give the default btn
class a transparent border and then adjust as appropriate for themes. Also looks like the margins and/or padding needs adjustment to vertically center the button text.
from stem.
OK, I fixed the border and vertically centered issues. Would you like me to remove the invite__button
class and all other unnecessary classes? (results-main__button
, results-secondary__button
etc.)
from stem.
that would be great
from stem.
incorporated from PR
from stem.
Related Issues (13)
- IE9 unable to access OAE REST API HOT 6
- Need fallback styling for browsers that don't support flexbox HOT 7
- Dummy image URLs in unit tests cause console errors HOT 2
- Development Processes HOT 2
- Unit tests for high level models very sparse HOT 3
- Nav bar navigation HOT 2
- Update unit tests to phantomjs 2.0 HOT 11
- Prepare for possible IE9 support HOT 13
- Alternate responsive designs for tablets and smartphones HOT 5
- Unit tests for high level views HOT 18
- Text overflows in discovery navigation on IE10/IE11 HOT 6
- Menu bug on mobile (chrome) HOT 13
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 stem.