Comments (3)
This is because the border-box is not used. So for example if you say 20px line height, the div's used to display the grid will have 19px height and 1px border bottom. But is you have box-sizing: border-box;
set to all elements this will be 19px height regardless of the border.
The script is outdated, but you can easily create a version that fits your needs.
from gridwax.
If you implement a fix, I'd love a pull request to merge in!
from gridwax.
@itsthatguy Cool, will do, I've was thinking to fork it, but this is better.
from gridwax.
Related Issues (15)
- Option for alternate colours (for dark sites) HOT 3
- Keys to adjust offset + Vertical Spacing not working in Safari 6.0.5 OS X 10.8.5 HOT 3
- TypeError: $ is not a function this.pageWidth = $(document).width(); HOT 4
- Website styles leaking into grid wax HOT 2
- Refused to execute script from HOT 7
- Migrate to Javascript from coffee? HOT 3
- It might be time to rebuild gridwax from scratch HOT 1
- Update readme to show new features.
- Clicking "close grid" in Firefox deletes entire page.
- Background of gridwax bar does not show up in firefox
- The color swatches do not align properly in the gridwax bar in firefox.
- Help Button
- Persist line height per site HOT 2
- Uncaught TypeError: boolean is not a function gridwax.js:16 HOT 5
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 gridwax.