Skip to content

Commit

Permalink
Fix examples' issues twbs#25664 and twbs#25388 (twbs#25665)
Browse files Browse the repository at this point in the history
* Prevent sign-in form from going outside viewport (twbs#25388)

* Workaround IE centering bug
  • Loading branch information
ysds authored and XhmikosR committed Mar 12, 2018
1 parent 27f553c commit 5b0e40b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
3 changes: 0 additions & 3 deletions docs/4.0/examples/cover/cover.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,6 @@ body {
display: -ms-flexbox;
display: -webkit-box;
display: flex;
-ms-flex-pack: center;
-webkit-box-pack: center;
justify-content: center;
color: #fff;
text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
Expand Down
2 changes: 1 addition & 1 deletion docs/4.0/examples/cover/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<body class="text-center">

<div class="cover-container d-flex h-100 p-3 mx-auto flex-column">
<div class="cover-container d-flex w-100 h-100 p-3 mx-auto flex-column">
<header class="masthead mb-auto">
<div class="inner">
<h3 class="masthead-brand">Cover</h3>
Expand Down
5 changes: 1 addition & 4 deletions docs/4.0/examples/floating-labels/floating-labels.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ body {
display: -webkit-box;
display: flex;
-ms-flex-align: center;
-ms-flex-pack: center;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
Expand All @@ -27,7 +24,7 @@ body {
width: 100%;
max-width: 420px;
padding: 15px;
margin: 0 auto;
margin: auto;
}

.form-label-group {
Expand Down
5 changes: 1 addition & 4 deletions docs/4.0/examples/sign-in/signin.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@ body {
display: -webkit-box;
display: flex;
-ms-flex-align: center;
-ms-flex-pack: center;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: center;
justify-content: center;
padding-top: 40px;
padding-bottom: 40px;
background-color: #f5f5f5;
Expand All @@ -22,7 +19,7 @@ body {
width: 100%;
max-width: 330px;
padding: 15px;
margin: 0 auto;
margin: auto;
}
.form-signin .checkbox {
font-weight: 400;
Expand Down

0 comments on commit 5b0e40b

Please sign in to comment.