Fix preview live : position:absolute sur img (height:100% cassé dans flex avec align-items:center)
La balise <img> avec height:100% ne se propage pas quand le parent est un flex item positionné avec align-self:center au lieu de stretch. Le fix : position:absolute top:0 left:0 width/height 100% sur .preview-live img. Retiré aussi --remote-debugging-port=9222 (diagnostic temporaire). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -320,6 +320,8 @@ html, body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.preview-live img {
|
.preview-live img {
|
||||||
|
position: absolute;
|
||||||
|
top: 0; left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ while true; do
|
|||||||
while [ -f /tmp/photostation_running ]; do sleep 1; done
|
while [ -f /tmp/photostation_running ]; do sleep 1; done
|
||||||
chromium \
|
chromium \
|
||||||
--kiosk \
|
--kiosk \
|
||||||
--remote-debugging-port=9222 \
|
|
||||||
--noerrdialogs \
|
--noerrdialogs \
|
||||||
--disable-infobars \
|
--disable-infobars \
|
||||||
--disable-translate \
|
--disable-translate \
|
||||||
|
|||||||
Reference in New Issue
Block a user