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

Commit 268f159

Browse files
committed
fix(plugins/plugin-client-common): there is still too much whitespace after no-response commands
Fixes #5742
1 parent 3a2c7b9 commit 268f159

File tree

1 file changed

+21
-7
lines changed
  • plugins/plugin-client-common/web/scss/components/Terminal

1 file changed

+21
-7
lines changed

plugins/plugin-client-common/web/scss/components/Terminal/Block.scss

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,16 @@ li.repl-block {
8080
&:not([data-is-output-only]) .repl-output.repl-result-has-content {
8181
margin-top: 0.5rem;
8282
}
83-
/* .repl-output:not(.repl-result-has-content) {
84-
.repl-context {
85-
display: none;
83+
&:not([data-is-output-only]) {
84+
&.valid-response,
85+
&.error {
86+
.repl-output:not(.repl-result-has-content) {
87+
.repl-context {
88+
display: none;
89+
}
90+
}
8691
}
87-
} */
92+
}
8893
&.error:before {
8994
opacity: 1;
9095
background-color: var(--color-error);
@@ -113,8 +118,13 @@ li.repl-block {
113118
opacity: 1;
114119
}
115120
}
116-
li:hover.repl-block:before {
117-
background-color: $focus-color;
121+
li:not(:focus):hover.repl-block {
122+
&,
123+
&[data-is-output-only] {
124+
&:before {
125+
background-color: $focus-color;
126+
}
127+
}
118128
}
119129
li:not(:focus) {
120130
&.repl-block {
@@ -131,7 +141,11 @@ li.repl-block {
131141
& > li.repl-block {
132142
display: flex;
133143
flex-direction: column;
134-
padding: 0.875rem 0;
144+
padding: 0.5rem 0;
145+
146+
&.repl-active {
147+
padding: 0.875rem 0;
148+
}
135149

136150
&[data-is-quietly-elsewhere] {
137151
padding-top: 0;

0 commit comments

Comments
 (0)