barseghyanartur / django-dash

Customisable, modular dashboard application framework for Django.
https://pypi.python.org/pypi/django-dash
383 stars 85 forks source link

Make a new theme based on modern Bootstrap #16

Open barseghyanartur opened 7 years ago

pourmirzai commented 6 years ago

how can I change cell size? I'm trying to create bootstrap 4 layout but can't change cell size. they are small (70px) are stuck to the left.

barseghyanartur commented 6 years ago

@pourmirzai:

It should be similar to the Bootstrap2.

See the cell_width, cell_height (and other options) here.

That shall be done in you Bootstrap4 layout.

pourmirzai commented 6 years ago

thanks for the response. I removed the line‍‍‍‍‍ 44 in dash_layouts.py. in some other documents where they need cell_units, I just used % for width and px for height. in this way, I have a responsive and full-width layout in Bootstrap 4. I would suggest to let the user define different units for width, height and margins. it will make it much easier to customize the layout. Thanks for your great code.

barseghyanartur commented 6 years ago

@pourmirzai:

Great. Some time ago I was actually working on bootstrap4 support along with a couple of other improvements. But didn't have enough time to finish that. If your theme is working, perhaps you wouldn't mind to share (for instance, an installable package with a bootstrap4 theme support). I could help you to do the packaging.