Skip to content

Commit 449f10a

Browse files
committed
style: login button
1 parent cbb46b7 commit 449f10a

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/home/github-login-button.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ async function gitHubLoginButton() {
2323
export function renderGitHubLoginButton() {
2424
const button = document.createElement("button");
2525
button.id = "github-login-button";
26-
button.textContent = "Login with GitHub";
26+
button.textContent = "Login";
2727
button.addEventListener("click", gitHubLoginButton);
2828
const toolbar = document.getElementById("toolbar");
2929
if (!toolbar) throw new Error("toolbar not found");

static/style/style.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
#branding > span {
1616
padding: 8px;
17-
line-height: 1;
17+
/* line-height: 1; */
1818
}
1919
html,
2020
body {
@@ -264,14 +264,14 @@ button:active {
264264
align-items: center;
265265
display: inline-flex;
266266
text-align: left;
267-
padding: 8px 16px;
267+
margin: 0 16px;
268268
}
269-
#toolbar > *:first-child {
269+
/* #toolbar > *:first-child {
270270
padding-left: 16px;
271271
}
272272
#toolbar > *:last-child {
273273
padding-right: 16px;
274-
}
274+
} */
275275
#authenticated > * {
276276
display: inline-flex;
277277
align-items: center;
@@ -322,3 +322,7 @@ button:active {
322322
display: unset;
323323
}
324324
}
325+
326+
#toolbar > button {
327+
text-align: center;
328+
}

0 commit comments

Comments
 (0)