Comments (9)
Moin Dennis,
i'm not sure, if we can prevent the slider from calculating the wrong width. We had the problem at the optimist-theme too: erdmannfreunde/optimist-theme-bundle#5 (comment)
May you find a general solution, otherwise at least a solution for your case.
from contao-grid-bundle.
When I set the column to fixed 640px (see third row) or to "overflow: hidden" the slider calculates the correct width. The problem is, that I want to place the buttons outside the div while I am working with floating widths.
I'll check, if this problem happens with another grid too.
from contao-grid-bundle.
Tested it with "Bootstrap für Contao Grid" and had the same problem.
https://test.office.bohn.media/bootstrap.html
from contao-grid-bundle.
Giving all columns a width of 100% fixed the problem.
.ce_colStart {
width: 100%;
}
https://test.office.bohn.media/euf.html
from contao-grid-bundle.
Good work. I need to check, if your solution will cause other problems with the grid as there are too many options to keep in mind.
from contao-grid-bundle.
Damn, found something that doesnt work anymore when you set the width to 100%. :'(
- justify-center
- justify-end
When the boxes grow to 100% the content is still aligned left inside the box. "max-width" seems to work.
.ce_colStart {
max-width: 100%;
}
https://test.office.bohn.media/euf-maxwidth.html
from contao-grid-bundle.
Can you test, if the following fix is working for you aswell? nutshell-framework/assets@fb4f615#diff-0f8c92d97bbd30a26ba8610e3307d91131a6bd37a91efb1edfc23ffabc21fd55R30
from contao-grid-bundle.
It works. Thanks!
from contao-grid-bundle.
fixed in 1.0.8
from contao-grid-bundle.
Related Issues (20)
- Add example Sass Source file HOT 2
- Adding Grid-Options to Row-Element HOT 4
- RowStart Widget triggers Warning in Dev Mode
- Contao 4.11 - Abhängigkeiten HOT 1
- Symfony 5 Compatibility HOT 3
- 1.0.4 - Migration schlägt fehl
- Übersetzung/Label für Grid-Klassen ermöglichen HOT 3
- Enhancement column order classes HOT 2
- Partial overwriting with config.yml not working HOT 2
- Service fehlt -> Fehlermeldung bei der Einbindung von mehrseitigen Formularen HOT 1
- Probleme nach Update auf Version 1.1.0 HOT 2
- Reihe Start Fehler bei Update auf neuste Version 1.1.0 HOT 4
- EuF-Grid CSS wird nicht geladen HOT 2
- Composer will Grid Bundle 2.0 nicht laden HOT 2
- Anzeige fehlt in Rocksolid Custom-Elements
- Contao 5.1 Support HOT 1
- Letzte Version nicht kompatibel mit Contao 4 (siehe screenshot) HOT 5
- GRID wird nicht übernommen HOT 7
- An Mitgliedergruppen heften HOT 4
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 contao-grid-bundle.