File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 101
101
102
102
<!-- svelte-ignore a11y_click_events_have_key_events -->
103
103
<!-- svelte-ignore a11y_no_static_element_interactions -->
104
- <main >
104
+ <main class = " git-view " >
105
105
<div class =" nav-header" >
106
106
<div class =" nav-buttons-container" >
107
107
<div
123
123
class:loading
124
124
data-icon =" refresh-cw"
125
125
aria-label =" Refresh"
126
- style =" margin: 1px;"
127
126
bind:this ={buttons [1 ]}
128
127
onclick ={triggerRefresh }
129
128
></div >
138
137
{/each }
139
138
</div >
140
139
{/if }
140
+ <div id =" sentinel" ></div >
141
+ <!-- Ensure that the sentinel item is reachable with the overlaying status bar and indicate that the end of the list is reached -->
142
+ <div style =" margin-bottom:40px" ></div >
141
143
</div >
142
- <div id =" sentinel" ></div >
143
- <!-- Ensure that the sentinel item is reachable with the overlaying status bar and indicate that the end of the list is reached -->
144
- <div style =" margin-bottom:40px" ></div >
145
144
</main >
146
145
147
146
<style lang =" scss" >
Original file line number Diff line number Diff line change 224
224
225
225
<!-- svelte-ignore a11y_click_events_have_key_events -->
226
226
<!-- svelte-ignore a11y_no_static_element_interactions -->
227
- <main data-type ={SOURCE_CONTROL_VIEW_CONFIG .type }>
227
+ <main data-type ={SOURCE_CONTROL_VIEW_CONFIG .type } class = " git-view " >
228
228
<div class =" nav-header" >
229
229
<div class =" nav-buttons-container" >
230
230
<div
294
294
class:loading
295
295
data-icon =" refresh-cw"
296
296
aria-label =" Refresh"
297
- style =" margin: 1px;"
298
297
bind:this ={buttons [7 ]}
299
298
onclick ={triggerRefresh }
300
299
></div >
Original file line number Diff line number Diff line change 574
574
.git-split-diff-view .cm-insertedLine .cm-changedText {
575
575
background-color : # 22bb2230 ;
576
576
}
577
+
578
+ /* Limits the scrollbar to the view body */
579
+ .git-view {
580
+ display : flex;
581
+ flex-direction : column;
582
+ position : relative;
583
+ height : 100% ;
584
+ }
You can’t perform that action at this time.
0 commit comments