Skip to content

Commit

Permalink
Prevent scrolling up when clicking at Ace editor input the first time
Browse files Browse the repository at this point in the history
  • Loading branch information
sergibondarenko committed Jan 23, 2020
1 parent 5132ebf commit 1829ceb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions public/apps/configuration-react/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@
#searchGuardKibanaPlugin .sgConfirmModalBody {
padding: 20px;
}

/*
Prevent scrolling up when clicking at Ace editor input the first time
https://github.com/ajaxorg/ace/issues/2963#issuecomment-297122112
*/
.ace_text-input {
position: absolute!important;
}
8 changes: 8 additions & 0 deletions public/apps/signals/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@
#searchguard-signals-app .sg-flex-item {
max-width: 25em;
}

/*
Prevent scrolling up when clicking at Ace editor input the first time
https://github.com/ajaxorg/ace/issues/2963#issuecomment-297122112
*/
.ace_text-input {
position: absolute!important;
}

0 comments on commit 1829ceb

Please sign in to comment.