Skip to content

Commit 782b1f9

Browse files
committed
Fixes overflow scrollbar
Switches preview badge / feedback order
1 parent 1057278 commit 782b1f9

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

src/webviews/apps/plus/graph/GraphWrapper.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,20 +323,20 @@ export function GraphWrapper({
323323
</div>
324324
{graphList.length > 0 && (
325325
<span className="actionbar__details">
326-
{graphList.length} item{graphList.length ? 's' : ''}
326+
showing {graphList.length} item{graphList.length ? 's' : ''}
327327
</span>
328328
)}
329329
{isLoading && <span className="actionbar__loading icon--loading icon-modifier--spin" />}
330330
</div>
331331
<div className="actionbar__group">
332+
<span className="badge">Preview</span>
332333
<a
333334
href="https://github.com/gitkraken/vscode-gitlens/discussions/2158"
334335
title="Commit Graph Feedback"
335336
aria-label="Commit Graph Feedback"
336337
>
337338
<span className="codicon codicon-feedback"></span>
338-
</a>{' '}
339-
<span className="badge">Preview</span>
339+
</a>
340340
</div>
341341
</footer>
342342
</>

src/webviews/apps/plus/graph/graph.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ a {
4040
flex-direction: row;
4141
justify-content: space-between;
4242
align-items: baseline;
43-
gap: 0.5rem;
43+
gap: 0.75rem;
44+
overflow: hidden;
4445

4546
> * {
4647
margin: 0;
@@ -58,6 +59,11 @@ a {
5859

5960
a {
6061
color: inherit;
62+
63+
.codicon.codicon-feedback {
64+
position: relative;
65+
top: -2px;
66+
}
6167
}
6268

6369
:focus {

0 commit comments

Comments
 (0)