Skip to content

Pi bluesky scroller #2933

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

Merged
merged 2 commits into from
Nov 27, 2024
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
Binary file added Pi_Bluesky_Scroller/Pi_Bluesky_Scroller.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,10 @@ def quit(self):

# create a webview and load the index.html page
window = webview.create_window(
"bsky posts", "static/index.html", js_api=Api(), width=320, height=240,
x=0, y=0, frameless=True, fullscreen=True
"bsky posts", "static/index.html", js_api=Api(),
#width=320, height=240,
width=640, height=480,
x=0, y=0, #frameless=True, fullscreen=True

)
webview.start()
Expand Down
File renamed without changes.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,30 @@
display: none;
}

/* Scale image down to fit the full thing on the TFT */
img {
max-width: 304px;
max-height: 240px;
object-fit: contain;
@media only screen and (max-width: 320px) {
img {
/* For TFT Size Display */
max-width: 304px;
max-height: 240px;
object-fit: contain;
}

}

@media only screen and (max-width: 640px) {
img {
/* For Window on HDMI Display */
max-width: 600px;
max-height: 440px;
object-fit: contain;
}
body {
font-size: 1.2em;
}
}

/* make really long handles wrap to next line instead of run off edge */
.postAuthor{
.postAuthor {
overflow-wrap: break-word;
}

Expand Down