Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the playground's right pane content sticky #253

Merged
merged 1 commit into from
Dec 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ workflow. Runs can be checked [here](https://github.com/rhysd/actionlint/actions

## Maintain `all_webhooks.go`

[`all_webhooks.go`(./all_webhooks.go) is a table all webhooks supported by GitHub Actions to trigger workflows. Note that
[`all_webhooks.go`](./all_webhooks.go) is a table all webhooks supported by GitHub Actions to trigger workflows. Note that
not all webhooks are supported by GitHub Actions.

It is generated automatically with `go generate`. The command runs [`generate-webhook-events`](./scripts/generate-webhook-events)
Expand Down
8 changes: 4 additions & 4 deletions playground/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ <h2 class="subtitle">Static checker for GitHub Actions workflow files</h2>
<main>
<div id="editor" class="split-pane"></div>
<div class="split-pane">
<div id="loading" class="notification has-text-centered is-size-5">Loading WebAssembly binary...</div>
<table id="lint-result" class="table is-hoverable">
<div id="loading" class="notification sticky has-text-centered is-size-5">Loading WebAssembly binary...</div>
<table id="lint-result" class="table sticky is-hoverable">
<tbody id="lint-result-body">
</tbody>
</table>
<div id="error-msg" class="notification is-danger is-light is-size-5">
<div id="error-msg" class="notification sticky is-danger is-light is-size-5">
</div>
<div id="success-msg" class="notification is-success is-light is-size-5">Yay! No error was detected.</div>
<div id="success-msg" class="notification sticky is-success is-light is-size-5">Yay! No error was detected.</div>
</div>
</main>
<footer class="footer">
Expand Down
5 changes: 5 additions & 0 deletions playground/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ main {
cursor: pointer;
}

.sticky {
position: sticky;
top: 0;
}

footer {
margin-top: 32px;
}