LayoutGrid with min-height: 0px
Posted: Thu Jan 23, 2020 9:53 pm
Hello @Pablo,
I am successfully working with LayoutGrids but I have a issue you may have an idea for.
This would not have come up if that LG in question would have not been on the very top.
This LayoutGrid has only one column, is set to transparent and has as only item a bookmark.
You can have an empty LG, it has the same issue.
Because the LG below has colors, I identified I have a 1px empty line on top of my browser.
Removing the top LG, the colored LG is now right from the top and there is no 1px color gap.
I did a site inspection and found, that the top LG in question has in css a min-height: 1px statement which when I uncheck makes the second LG starting correctly from the top.
To check, I added a custom html/style with min-height: 10px which moved my colored bar 11px down. 10+1, two min-height. Tested with site inspection (FF, Opera). It also makes no difference if used in an master frame or in a page.
For me it seems that there is an internal min-height set to 1px which cant be changed from the user side.
Is there a way to set the min-height to real 0px ?
(If not, this would be a urgent feature request...)
css example
I am successfully working with LayoutGrids but I have a issue you may have an idea for.
This would not have come up if that LG in question would have not been on the very top.
This LayoutGrid has only one column, is set to transparent and has as only item a bookmark.
You can have an empty LG, it has the same issue.
Because the LG below has colors, I identified I have a 1px empty line on top of my browser.
Removing the top LG, the colored LG is now right from the top and there is no 1px color gap.
I did a site inspection and found, that the top LG in question has in css a min-height: 1px statement which when I uncheck makes the second LG starting correctly from the top.
To check, I added a custom html/style with min-height: 10px which moved my colored bar 11px down. 10+1, two min-height. Tested with site inspection (FF, Opera). It also makes no difference if used in an master frame or in a page.
For me it seems that there is an internal min-height set to 1px which cant be changed from the user side.
Is there a way to set the min-height to real 0px ?
(If not, this would be a urgent feature request...)
css example
Code: Select all
#mfLayoutGrid2 > .col-1 {
box-sizing: border-box;
font-size: 0px;
min-height: 1px; <-- issue
padding-left: 0px;
padding-right: 0px;
position: relative;
}