Skip to content

Commit

Permalink
Resolve an issue that 'min-height' has no effect on tables (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheton committed Nov 27, 2016
1 parent 452748e commit 52a0948
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/web/containers/Settings/index.styl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
.container {
display: table;
width: 100%;
min-height: 400px;

// https://www.w3.org/TR/CSS21/visudet.html#min-max-heights
// In CSS 2.1, the effect of 'min-height' and 'max-height' on tables, inline tables, table cells, table rows, and row groups is undefined.
height: 400px;

&.border {
border: 1px solid #ccc;
Expand Down

0 comments on commit 52a0948

Please sign in to comment.