Fix responsive image-region preview spacing
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile, web, pulse-signage-web) (push) Successful in 1m26s
Publish Docker Image / build-and-push-existing-registry (./build/Dockerfile.player, player, pulse-signage-player) (push) Successful in 43s

This commit is contained in:
lzstealth committed 2026-10-26 21:59:58 +00:00
1 parent 7cff39dc76
commit 9e865bcae9
2 files changed
+15

No files matched your search

+9
View File
@@ -294,6 +294,15 @@ test('regenerated crop pixels preserve cropper rotation and flips', async () =>
}
});
test('image crop preview fills its responsive column without right-aligned thumbnail padding', () => {
const stylesheet = fs.readFileSync(path.join(__dirname, '../src/web/public/css/theme-custom.css'), 'utf8');
const box = stylesheet.match(/^\.slide-image-region-preview-tools > \.slide-image-region-preview-box\s*\{([^}]+)\}/m);
assert.ok(box);
assert.match(box[1], /min-width:\s*0;/);
assert.match(box[1], /justify-items:\s*stretch;/);
assert.match(stylesheet, /\.slide-image-region-preview-tools \.slide-image-region-preview-shell,\s*\.slide-image-region-preview-tools \.slide-image-region-preview\s*\{\s*max-width:\s*none;/);
});
test('editor offers the cropper and player uses the crop copy while retaining original metadata', () => {
const modules = {};
const browserWindow = {