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",
"version": "3.1.2",
"version": "3.1.3",
"description": "ReactJS: Universal Lightbox window",
"author": "Tony Air <tony@twma.pro>",
"license": "BSD-2-Clause",

View File

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