Skip to content

Commit

Permalink
minor details
Browse files Browse the repository at this point in the history
  • Loading branch information
StigNygaard committed Dec 4, 2024
1 parent 0b992f2 commit 2102fb7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ The widget (frontend code) should be compatible back to at least Firefox 115 and
are versions still compatible with Windows 7/8 installations). It also runs in Safari, but unsure how old versions are
supported (I'm not able to test that myself). The backend code is my first simple experiments/experience with Deno, so
you might see me making many changes and "stupid" comments and TODOs in that😊 Currently the backend is tested with Deno
1.46 and Deno 2.0.
1.46 and latest Deno 2.x.

#### /widgets/ folder

Expand Down Expand Up @@ -57,5 +57,5 @@ What could future updates bring? _Maybe_:
- A layout that adapt nicer to wider display dimensions of widget
- Dark mode
- Refactoring code _if_ I'm in the mood for that kind of thing 🙂
- More documentation (especially on the Deno proxy-api implementation when it feels a bit more mature)
- More documentation (especially on the Deno proxy-api implementation)
- Another widget
2 changes: 1 addition & 1 deletion services/proxy-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ function methodError(method: string, headers: Headers) {
}
};
} else {
let msg = `Specified method '${method}' not available in proxy`;
const msg = `Specified method '${method}' not available in proxy`;
return {
body: `{error: 3, message: '${msg}'}`,
options: {
Expand Down
4 changes: 2 additions & 2 deletions widgets/tracks.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ a.username {
left: calc(50% - (min(100%, 9em) + .2em + 2px) / 2);

display: block;
transform: translateY(calc(100% + 1px)); /* +1px because Firefox sometimes mis-positions (css rounding error?) */
transform: translateY(calc(100% + 1px)); /* +1px because Firefox sometimes mis-positions (css rounding error?) TODO investigate */
transition: transform var(--transition-time-out) ease-in-out var(--transition-delay-out);
}
.footer a {
Expand All @@ -198,7 +198,7 @@ a.username {
vertical-align: sub;
}
:host(:hover) .footer {
transform: translateY(1px); /* 1px because Firefox sometimes mis-positions (css rounding error?) */
transform: translateY(1px); /* 1px because Firefox sometimes mis-positions (css rounding error?) TODO investigate */
transition: transform var(--transition-time-in) ease var(--transition-delay-in);
transition-delay: 1.5s;
}
Expand Down

0 comments on commit 2102fb7

Please sign in to comment.