Comments (6)
Hi, I will review this next week and get back to you. Thanks
from idrviewer.
This has been added in the next release. Unfortunately we just missed yesterday's release so it will go live in the next one on Nov 15.
from idrviewer.
Thanks!
from idrviewer.
Actually @leonatherton it would be really nice to control both the vertical padding (i.e. padding-top and padding-bottom) as well as the horizontal padding (i.e. padding-left and padding-right). We have two use cases we would like to support:
- Having no padding at all.
- Having fixed padding together with ZOOM_FITWIDTH, so it looks like a document but stretched to the maximum width.
I know it is a little more effort, but could be really helpful!
from idrviewer.
@leonatherton you can check out this fork as an example:
https://github.com/Celero-io/idrviewer-fork
from idrviewer.
@nircelero Thank you for providing the example. We've put this feature live in today's release.
We've gone with paddingX and paddingY as the config property names. Note also that the expected value is slightly different. E.g. If you provide paddingX=5, then it will set 5 on the left and 5 on the right for a combined total of 10.
from idrviewer.
Related Issues (3)
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 idrviewer.