reviw 0.9.1 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli.cjs +9 -7
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1978,15 +1978,15 @@ function htmlTemplate(dataRows, cols, title, mode, previewHtml) {
|
|
|
1978
1978
|
transform: scale(1.04);
|
|
1979
1979
|
}
|
|
1980
1980
|
.image-container {
|
|
1981
|
-
|
|
1982
|
-
|
|
1981
|
+
width: 90vw;
|
|
1982
|
+
height: 90vh;
|
|
1983
1983
|
display: flex;
|
|
1984
1984
|
justify-content: center;
|
|
1985
1985
|
align-items: center;
|
|
1986
1986
|
}
|
|
1987
1987
|
.image-container img {
|
|
1988
|
-
|
|
1989
|
-
|
|
1988
|
+
width: 100%;
|
|
1989
|
+
height: 100%;
|
|
1990
1990
|
object-fit: contain;
|
|
1991
1991
|
border-radius: 8px;
|
|
1992
1992
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
|
@@ -3640,9 +3640,11 @@ function htmlTemplate(dataRows, cols, title, mode, previewHtml) {
|
|
|
3640
3640
|
|
|
3641
3641
|
imageContainer.innerHTML = '';
|
|
3642
3642
|
const clonedImg = img.cloneNode(true);
|
|
3643
|
-
|
|
3644
|
-
clonedImg.style.
|
|
3645
|
-
clonedImg.style.
|
|
3643
|
+
// CSSで制御するためインラインスタイルはリセット
|
|
3644
|
+
clonedImg.style.width = '';
|
|
3645
|
+
clonedImg.style.height = '';
|
|
3646
|
+
clonedImg.style.maxWidth = '';
|
|
3647
|
+
clonedImg.style.maxHeight = '';
|
|
3646
3648
|
clonedImg.style.cursor = 'default';
|
|
3647
3649
|
imageContainer.appendChild(clonedImg);
|
|
3648
3650
|
|