Skip to content

Commit 4382956

Browse files
committed
Adjusted coding style.
1 parent ebfa9cb commit 4382956

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

css/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@
132132
position: sticky;
133133
}
134134

135-
.diff-files-changed {
135+
.diff-files-changed
136+
{
136137
position: inherit !important;
137138
}
138139

src/inject/inject.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,8 @@ class GitLabTree
546546
* div's ancestors. Finally, it places the wrapped DIV into the DOM directly under
547547
* the 'content-wrapper' div.
548548
*/
549-
moveTabs( tabs: HTMLElement, contentWrapper: HTMLElement ): void {
549+
moveTabs( tabs: HTMLElement, contentWrapper: HTMLElement ): void
550+
{
550551
tabs.parentElement.removeChild( tabs );
551552

552553
const tabsWrapper = document.createElement( 'div' );
@@ -569,7 +570,8 @@ class GitLabTree
569570
* 'Changes' tab. Finally, it places the results back into the DOM directly under
570571
* the 'content-wrapper' div.
571572
*/
572-
moveTabsContent( tabsContent: HTMLElement, contentWrapper: HTMLElement ): void {
573+
moveTabsContent( tabsContent: HTMLElement, contentWrapper: HTMLElement ): void
574+
{
573575
tabsContent.parentElement.removeChild( tabsContent );
574576

575577
for ( let i = 0; i < tabsContent.childElementCount; i++ )
@@ -579,7 +581,8 @@ class GitLabTree
579581
// Add the GitLab container margin and padding class
580582
content.classList.add( 'container-fluid' );
581583

582-
if ( ! content.classList.contains( 'diffs' )) {
584+
if ( ! content.classList.contains( 'diffs' ))
585+
{
583586
// Add the GitLab limited-width container classes
584587
content.classList.add( 'container-limited', 'limit-container-width' );
585588
}

0 commit comments

Comments
 (0)