Skip to content

Commit 50a40ef

Browse files
committed
chore: terminal tabs ux
1 parent c44922b commit 50a40ef

2 files changed

Lines changed: 17 additions & 6 deletions

File tree

src/extensions/default/HealthData/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ define(function (require, exports, module) {
5757
}
5858

5959
AppInit.appReady(function () {
60-
initTest();
60+
if (brackets.test) {
61+
initTest();
62+
}
6163
});
6264

6365
addCommand();

src/styles/Extn-Terminal.less

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@
164164
flex-direction: column;
165165
overflow-y: auto;
166166
overflow-x: hidden;
167+
scrollbar-width: none; /* Firefox */
168+
&::-webkit-scrollbar {
169+
display: none; /* Chrome/Safari */
170+
}
167171
}
168172

169173
.terminal-tab {
@@ -197,14 +201,18 @@
197201
}
198202

199203
.terminal-tab .terminal-tab-close {
204+
position: absolute;
205+
top: 1px;
206+
right: 1px;
200207
display: none;
201-
font-size: 14px;
208+
align-items: center;
209+
justify-content: center;
210+
font-size: 10px;
202211
color: var(--terminal-tab-text);
203212
line-height: 1;
204-
}
205-
206-
.terminal-tab:hover .terminal-tab-icon {
207-
display: none;
213+
width: 14px;
214+
height: 14px;
215+
border-radius: 3px;
208216
}
209217

210218
.terminal-tab:hover .terminal-tab-close {
@@ -213,6 +221,7 @@
213221

214222
.terminal-tab .terminal-tab-close:hover {
215223
color: var(--terminal-tab-active-text);
224+
background: rgba(255, 255, 255, 0.15);
216225
}
217226

218227
/* New terminal button at bottom of tab bar */

0 commit comments

Comments
 (0)