Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 61b169b

Browse files
committed
fix(plugins/plugin-client-common): tab completion UI does not render on separate line from input
Fixes #5307
1 parent bd22fa2 commit 61b169b

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

plugins/plugin-client-alternate/web/scss/CustomInput.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
*/
1616

1717
.kui--tab-completions {
18-
bottom: 3.25em;
18+
bottom: 4.25rem;
1919
}

plugins/plugin-client-common/web/css/static/InputStripe.scss

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
box-shadow: 0 -3px 10px 0 rgba(60, 60, 60, 0.1);
77

88
.repl-block {
9+
position: unset;
910
flex: 1;
1011
padding: 0;
1112
margin: 0;
@@ -34,9 +35,6 @@
3435
display: flex;
3536
overflow-x: auto;
3637

37-
/* make the completion options a bit smaller, since they nest within a small space */
38-
font-size: 0.75em;
39-
4038
.kui--tab-completions--option {
4139
overflow: unset;
4240
.bx--btn--primary:focus {

plugins/plugin-client-common/web/css/static/TabCompletion.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
@import 'carbon-components/scss/components/button/_button.scss';
22

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

66
.kui--tab-completions--option {
77
.bx--btn--primary {

plugins/plugin-client-common/web/css/static/repl.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@
178178
.red-text {
179179
white-space: pre-wrap;
180180
}
181+
.repl-input {
182+
flex-wrap: wrap;
183+
}
181184
.repl-input,
182185
.repl-output {
183186
display: flex;

0 commit comments

Comments
 (0)