-
-
Notifications
You must be signed in to change notification settings - Fork 214
Backend css rule for class .w50 not working for checkboxes #8864
Comments
You should use w50 only for single ones. Or use tl_style => 'height:auto'. |
Why build a workaround with inline-styles? What's the problem with a CSS change that would work in general? |
If we can be sure that |
And again it seems to be time for a flexbox solution. |
THX |
Did anyone test this? |
@contao/developers /cc |
as far as I am concerned it worked in safari, firefox and chrome in osx environment. |
We need some more people to test this please. @frontendschlampe @may17 @fritzmg @cliffparnitzky @ausi @Pellinger @netzarbeiter /cc |
In general this works. Here are two screenshots from Contao 4.5 from FireFox and IE 11 under Windows 10 x64: In this test I added the Since the height of one |
min-height has full browser support see https://caniuse.com/#feat=minmaxwh |
I can confirm the test of @fritzmg : used Contao 4.4 in Chrome, Firefox and IE 11 |
Description ----------- While testing contao/core#8864 I noticed that the back end login of Contao 4.5 and 4.6 looks like this in IE 11: ![ie11screenshot](https://user-images.githubusercontent.com/4970961/45218806-1f59dc00-b2a9-11e8-8980-8ea4ba74d291.png) This is because Contao 4.5 started using the `<main>` element for the `#main` container. However, IE 11 treats this as an _inline_ element by default. See also necolas/normalize.css#727 I think this should probably also be added to the `reset.css` of the Contao CSS framework? https://github.com/contao-components/contao/blob/8.0.2/css/reset.css#L55-L57 ```diff -header,footer,nav,section,aside,article,figure,figcaption { +header,footer,nav,section,aside,article,figure,figcaption,main { display:block; } ``` Commits ------- 83e01d1 fix CSS for IE11 6b9f7aa Merge branch '4.6' into ie-fix
Description ----------- While testing contao/core#8864 I noticed that the back end login of Contao 4.5 and 4.6 looks like this in IE 11: ![ie11screenshot](https://user-images.githubusercontent.com/4970961/45218806-1f59dc00-b2a9-11e8-8980-8ea4ba74d291.png) This is because Contao 4.5 started using the `<main>` element for the `#main` container. However, IE 11 treats this as an _inline_ element by default. See also necolas/normalize.css#727 I think this should probably also be added to the `reset.css` of the Contao CSS framework? https://github.com/contao-components/contao/blob/8.0.2/css/reset.css#L55-L57 ```diff -header,footer,nav,section,aside,article,figure,figcaption { +header,footer,nav,section,aside,article,figure,figcaption,main { display:block; } ``` Commits ------- 83e01d11 fix CSS for IE11 6b9f7aa5 Merge branch '4.6' into ie-fix
Changed in contao/contao@a3f4e86. |
Checkboxes need sometimes more space.
When using .w50 Class for custom backend elements the checkbox is limited to 80px height.
We should use a min-height: 80px instead.
The text was updated successfully, but these errors were encountered: