IMPR: Minor updates

This commit is contained in:
Tony Air 2021-04-28 22:36:15 +07:00
parent 6e9324de59
commit 417d347a9b
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@a2nt/meta-lightbox-react", "name": "@a2nt/meta-lightbox-react",
"version": "3.1.2", "version": "3.1.3",
"description": "ReactJS: Universal Lightbox window", "description": "ReactJS: Universal Lightbox window",
"author": "Tony Air <tony@twma.pro>", "author": "Tony Air <tony@twma.pro>",
"license": "BSD-2-Clause", "license": "BSD-2-Clause",

View File

@ -180,8 +180,10 @@ $module_name: 'meta-MetaWindow';
width: 100%; width: 100%;
overflow: auto; overflow: auto;
word-break: break-word; word-break: break-word;
margin: 0 auto;
img { img {
object-fit: cover;
max-width: 100%; max-width: 100%;
max-height: 100%; max-height: 100%;
} }
@ -207,6 +209,7 @@ $module_name: 'meta-MetaWindow';
.typography, .typography,
.meta-wrap { .meta-wrap {
overflow: hidden;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;