Skip to content

Commit

Permalink
fix(plugins/plugin-client-common): tab completion UI does not render …
Browse files Browse the repository at this point in the history
…on separate line from input

Fixes #5307
  • Loading branch information
starpit committed Aug 4, 2020
1 parent 1e1037f commit 1460ee6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion plugins/plugin-client-alternate/web/scss/CustomInput.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
*/

.kui--tab-completions {
bottom: 3.25em;
bottom: 4.25rem;
}
4 changes: 1 addition & 3 deletions plugins/plugin-client-common/web/css/static/InputStripe.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
box-shadow: 0 -3px 10px 0 rgba(60, 60, 60, 0.1);

.repl-block {
position: unset;
flex: 1;
padding: 0;
margin: 0;
Expand Down Expand Up @@ -34,9 +35,6 @@
display: flex;
overflow-x: auto;

/* make the completion options a bit smaller, since they nest within a small space */
font-size: 0.75em;

.kui--tab-completions--option {
overflow: unset;
.bx--btn--primary:focus {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@import 'carbon-components/scss/components/button/_button.scss';

.kui--tab-completions {
font-size: 0.875em;
flex-basis: 100%;

.kui--tab-completions--option {
.bx--btn--primary {
Expand Down
3 changes: 3 additions & 0 deletions plugins/plugin-client-common/web/css/static/repl.scss
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@
.red-text {
white-space: pre-wrap;
}
.repl-input {
flex-wrap: wrap;
}
.repl-input,
.repl-output {
display: flex;
Expand Down

0 comments on commit 1460ee6

Please sign in to comment.