Skip to content

Commit

Permalink
Adding retries to deploy + css changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Woedenaz committed Oct 18, 2023
1 parent f057b5c commit 1f20b1c
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only
- name: retry action
uses: Wandalen/wretry.action@v1.3.0
with:
command: flyctl deploy --remote-only
attempts: 3
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
Binary file modified bun.lockb
100644 → 100755
Binary file not shown.
6 changes: 3 additions & 3 deletions src/lib/components/Datatable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@
}
section :global(tr) {
--scps: 8vw;
--names: 25vw;
--frag: 6vw;
--scps: 7em;
--names: 20vw;
--frag: 5em;
--cols: calc(((100vw - (var(--scps) + var(--names) + var(--frag))) / 5) - 0.125em);
display: grid;
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/Th.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,10 @@
padding: 0.5em 2.25em;
white-space: nowrap;
text-align: center;
font-size: 1.0625em;
font-size: 0.75em;
user-select: none;
border-bottom: 0.0625em solid rgb(var(--swatch-secondary-color));
text-transform: uppercase;
}
th.sortable {
cursor: pointer;
Expand Down
23 changes: 23 additions & 0 deletions static/css/global.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
:root {
--min-font-size: 0.625rem;
--base-font-size: max(var(--min-font-size), min(1.5vw, var(--max-font-size)));

--five-color: 196, 2, 51;
--four-color: 255, 109, 0;
--three-color: 255, 211, 0;
Expand All @@ -7,6 +10,26 @@
scrollbar-width: thin;
}

/* Mobile Blocker */
@media (max-width: 31.25rem) {
body::before {
content: "ACS Database Not Supported on Mobile (yet)";
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgb(var(--black-monochrome)); /* semi-transparent black background */
color: rgb(var(--white-monochrome));;
font-size: 1.5em; /* adjust as needed */
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
pointer-events: none;
}
}

td[class*='pending']:nth-of-type(5),
#table > tbody > tr > td:nth-of-type(6):not(.none) {
background-color: rgb(12, 12, 12);
Expand Down
2 changes: 1 addition & 1 deletion static/db/acs_database.json
Original file line number Diff line number Diff line change
Expand Up @@ -1717,7 +1717,7 @@
"display_number": "SCP-3675",
"clearance": "",
"clearance_text": "",
"risk": "danger",
"risk": "danger",
"url": "https://scp-wiki.wikidot.com/scp-3675",
"fragment": false
},
Expand Down

0 comments on commit 1f20b1c

Please sign in to comment.