-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Usually authors of styles limit the size and dimensions of their screenshot based on the USO restrictions:
"at least 700 x 350, <200KB" , but in fact it's constrained, by their css, to a maximum of 728 x 353
Based on that (and the limit of the filesize), I've seen screenshots no bigger than 728 x 353.
On USOa these images are currently stretched and blurry. On the search pages, the images are cropped.
Here are modifications for the userstyle page and for the search pages.
What do you think?
@-moz-document url-prefix("https://uso.kkx.one/style/") {
.w-100 {
width: unset !important; /* undo current style */
max-width: 100% !important;
margin: auto; /* center image */
}
.carousel-indicators button {
border: 3px solid lightskyblue !important; /* the indicators for multiple images is not always visible (gray images) */
}
}
@-moz-document url-prefix("https://uso.kkx.one/") {
.screenshot.svelte-7yfjv0.svelte-7yfjv0.svelte-7yfjv0 {
object-fit: contain; /* show the whole image */
}
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request