Skip to content

Commit 5bb6c42

Browse files
committed
fixes twbs#4511: remove focus on opened modal window
1 parent a6968c4 commit 5bb6c42

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

docs/assets/css/bootstrap.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5069,6 +5069,10 @@ input[type="submit"].btn.btn-mini {
50695069
margin-left: 0;
50705070
}
50715071

5072+
.modal {
5073+
outline: none;
5074+
}
5075+
50725076
.tooltip {
50735077
position: absolute;
50745078
z-index: 1030;

less/modals.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,8 @@
8989
margin-left: 0;
9090
}
9191
}
92+
93+
// Remove focus outline from opened modal
94+
.modal {
95+
outline: none;
96+
}

0 commit comments

Comments
 (0)