Skip to content

Commit

Permalink
style: make better use of wide screen
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4007 committed Dec 1, 2023
1 parent 449f10a commit 9df3198
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/home/github-login-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function gitHubLoginButton() {
export function renderGitHubLoginButton() {
const button = document.createElement("button");
button.id = "github-login-button";
button.textContent = "Login";
button.innerHTML = "<span>Login</span><span class='full'>&nbsp;With GitHub</span>";
button.addEventListener("click", gitHubLoginButton);
const toolbar = document.getElementById("toolbar");
if (!toolbar) throw new Error("toolbar not found");
Expand Down
11 changes: 5 additions & 6 deletions static/style/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,20 @@ body {
}

#issues-container {
padding: 8px;
/* padding: 8px; */
max-width: 640px;
margin: auto;
/* border-left: 1px solid #80808010; */

padding: 48px 0;
/* background: linear-gradient(to bottom, #80808000 0%, #808080ff 15%, #808080ff 85%, #80808000 100%); */
-webkit-mask-image: linear-gradient(to bottom, #00000000, #000000ff 0%, #000000ff 75%, #00000000 100%);
height: calc(100vh - 96px);
overflow: scroll;
scrollbar-width: none; /* For Firefox */
-ms-overflow-style: none; /* For Internet Explorer and Edge */
&::-webkit-scrollbar {
display: none; /* For Chrome, Safari, and Opera */
}
}
&::-webkit-scrollbar {
display: none; /* For Chrome, Safari, and Opera */
}

#issues-container:hover .issue-element-inner {
Expand Down Expand Up @@ -319,7 +318,7 @@ button:active {
}
@media screen and (min-width: 640px) {
.full {
display: unset;
display: unset !important;
}
}

Expand Down

0 comments on commit 9df3198

Please sign in to comment.