From 255e6f1022b25937fd741907ef24f2cd2fe0f5e3 Mon Sep 17 00:00:00 2001 From: gussan-beedan Date: Wed, 11 May 2022 18:49:01 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A2=E3=83=83=E3=83=97=E3=83=AD=E3=83=BC?= =?UTF-8?q?=E3=83=80=E3=83=BC=E3=83=91=E3=83=8D=E3=83=AB=E3=81=AE=E7=94=BB?= =?UTF-8?q?=E5=83=8F=E3=81=AE=E3=82=A2=E3=82=B9=E3=83=9A=E3=82=AF=E3=83=88?= =?UTF-8?q?=E6=AF=94=E5=B4=A9=E3=82=8C=E4=BA=88=E9=98=B2=EF=BC=88768px?= =?UTF-8?q?=E4=BB=A5=E4=B8=8A=E3=82=92=E5=90=AB=E3=82=80=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit アップローダー基本設定で、PCサイズ(小)の「正方形に切り抜く」チェックボックスをオフにした場合 --- webroot/css/admin/addstyle_3rd.css | 5 +++++ webroot/css/admin/addstyle_agr.css | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/webroot/css/admin/addstyle_3rd.css b/webroot/css/admin/addstyle_3rd.css index 8754bf6..77f3a59 100644 --- a/webroot/css/admin/addstyle_3rd.css +++ b/webroot/css/admin/addstyle_3rd.css @@ -31,6 +31,11 @@ body { height: auto !important; } +/* アップローダーパネル、画像のアスペクト比崩れ予防(768px以上を含む) */ +#DivPanelList .selectable-file img{ + object-fit: cover; +} + /* バルーンチップのウィンドウ幅調整(768px以上を含む) */ .bt-content { max-width: 400px; diff --git a/webroot/css/admin/addstyle_agr.css b/webroot/css/admin/addstyle_agr.css index a825835..f0917a6 100644 --- a/webroot/css/admin/addstyle_agr.css +++ b/webroot/css/admin/addstyle_agr.css @@ -59,6 +59,10 @@ body { #ToolBar { z-index: 10000 !important; } +/* アップローダーパネル、画像のアスペクト比崩れ予防(768px以上を含む) */ +#DivPanelList .selectable-file img{ + object-fit: cover; +} @media screen and (max-width: 900px) {