Hi Antonio,
Nice job!
I'm using a RPi 5 with the official Touch Display 2, which is a 1280x720 display. I'm using the most recent vesion of PicoChess 4. I've downloaded your revised version of folder Web, deleted folder Web and replaced it with the one you've shared.
When I started PicoChess, the buttons briefly were visible on the edge of the screen, but they quickly disappeared. The display is looking good, but it seems the screen is too big for the display, there's now a scrollbar to the right and extra space at the bottom. Looking at
1280x800.css, I noticed that in
xboardsection,
board_panel, and
scroll-portrait the numbers 790 and 800 occurred. I also noticed that the 1280x720 now has its own section which overrides some 1280x800 values. As an experiment I've added these values to this section, and replaced 790 with 715 and 800 with 720. From line 112 on it now looked like this:
@media (min-width: 1200px) and (max-width: 1300px)
and (height: 720px) {
body {
overflow-y: auto !important;
max-height: 720px;
}
.scroll-portrait {
height: 720px;
max-height: 720px;
overflow-y: hidden;
}
#xboardsection {
max-width: 1270px;
max-height: 715px;
}
#board_panel {
height: 715px;
}
When I restarted PicoChess, this seemed to have fixed the issue, the scrollbar and the extra space were gone! But because I'm no expert on CSS by any means, of course I don't know if this is the right way to solve the issue.
Aldo