Skip to content

Commit 60dd699

Browse files
fix css when button is next to setup-in-desktop button (#61)
* fix: css next to view-in-desktop btn * fix: make btn-sm for empty repos Co-authored-by: Andrea Falzetti <[email protected]>
1 parent c8be340 commit 60dd699

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

css/gitpodify.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
.file-navigation #gitpod-btn-container {
77
margin-left: 6px;
88
}
9+
/* Handle New Repository */
10+
.repository-content > div #gitpod-btn-container.gitpod-file-btn,
11+
.TableObject #gitpod-btn-container {
12+
margin-left: 0px;
13+
margin-right: 8px;
14+
}
915

1016
.no-container {
1117
margin-bottom: 10px;

src/injectors/github-injector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class EmptyRepositoryInjector extends ButtonInjectorBase {
203203
}
204204

205205
protected adjustButton(a: HTMLAnchorElement): void {
206-
a.className = "btn btn-primary";
206+
a.className = "btn btn-sm btn-primary";
207207
}
208208

209209
isApplicableToCurrentPage(): boolean {

0 commit comments

Comments
 (0)