Skip to content

Commit 4c97680

Browse files
committed
Corrected the bottom border of the table header row (commit content could be seen through it)
1 parent 72d5d20 commit 4c97680

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

web/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,8 +1761,7 @@ class GitGraphView {
17611761
const controlsHeight = this.controlsElem.offsetHeight;
17621762
const controlsWidth = this.controlsElem.offsetWidth;
17631763
const tableColHeadersHeight = this.tableColHeadersElem.offsetHeight;
1764-
const bottomBorderWidth = 1;
1765-
const shadowYPos = controlsHeight + tableColHeadersHeight + bottomBorderWidth;
1764+
const shadowYPos = controlsHeight + tableColHeadersHeight;
17661765

17671766
this.tableColHeadersElem.style.top = `${controlsHeight}px`;
17681767
this.scrollShadowElem.style.top = `${shadowYPos}px`;

web/styles/main.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ body.selection-background-color-exists ::selection{
198198
}
199199
#commitTable table{
200200
width:100%;
201-
border-collapse:collapse;
201+
border-collapse:separate;
202+
border-spacing:0;
202203
}
203204
#commitTable table, #commitTable tbody, #commitTable tr, #commitTable th, #commitTable td{
204205
padding:0;
@@ -216,8 +217,7 @@ body.selection-background-color-exists ::selection{
216217
padding:0 4px;
217218
}
218219
#commitTable th{
219-
border-bottom:1px solid transparent;
220-
box-shadow: 0 1px 0 rgba(128,128,128,0.5);
220+
border-bottom:1px solid rgba(128,128,128,0.5);
221221
line-height:18px;
222222
padding:6px 12px;
223223
}
@@ -774,12 +774,12 @@ body.tagLabelsRightAligned .gitRef.tag{
774774

775775
#controls{
776776
display:block;
777-
position: relative;
777+
position:relative;
778778
left:0;
779779
right:0;
780780
top:0;
781781
padding:4px 132px 4px 0;
782-
background-color: var(--vscode-editor-background);
782+
background-color:var(--vscode-editor-background);
783783
border-bottom:1px solid rgba(128,128,128,0.5);
784784
line-height:32px;
785785
text-align:center;

0 commit comments

Comments
 (0)