mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-03 19:24:29 +02:00
Updated the flex styles to bias to auto size, rather than 0 size. Since the bias is only used by IE (though part of the standard), this was causing a break in IE but "worked" in current versions of other browsers...for now.
This commit is contained in:
parent
3c9155064a
commit
e6945c646b
1 changed files with 15 additions and 9 deletions
|
@ -1,3 +1,9 @@
|
|||
/* Partial reset */
|
||||
p, div {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Main styles */
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
|
@ -66,7 +72,7 @@ div.modalTerminal p {
|
|||
html,
|
||||
body,
|
||||
.box {
|
||||
display: flexbox;
|
||||
display: flex;
|
||||
display: -moz-box;
|
||||
display: -webkit-box;
|
||||
display: -ms-flexbox;
|
||||
|
@ -76,29 +82,29 @@ body,
|
|||
.flex1 {
|
||||
-webkit-box-flex: 1;
|
||||
-moz-box-flex: 1;
|
||||
-ms-flex: 1.0;
|
||||
flex: 1;
|
||||
-ms-flex: 1.0 1.0 auto;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.flex2 {
|
||||
-webkit-box-flex: 2;
|
||||
-moz-box-flex: 2;
|
||||
-ms-flex: 2.0;
|
||||
flex: 2;
|
||||
-ms-flex: 2.0 2.0 auto;
|
||||
flex: 2 2 auto;
|
||||
}
|
||||
|
||||
.flex3 {
|
||||
-webkit-box-flex: 3;
|
||||
-moz-box-flex: 3;
|
||||
-ms-flex: 3.0;
|
||||
flex: 3;
|
||||
-ms-flex: 3.0 3.0 auto;
|
||||
flex: 3 3 auto;
|
||||
}
|
||||
|
||||
.flex10 {
|
||||
-webkit-box-flex: 10;
|
||||
-moz-box-flex: 10;
|
||||
-ms-flex: 10.0;
|
||||
flex: 10;
|
||||
-ms-flex: 10.0 10.0 auto;
|
||||
flex: 10 10 auto;
|
||||
}
|
||||
|
||||
html,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue