Skip to content

Commit

Permalink
アップローダーパネルの画像のアスペクト比崩れ予防(768px以上を含む)
Browse files Browse the repository at this point in the history
アップローダー基本設定で、PCサイズ(小)の「正方形に切り抜く」チェックボックスをオフにした場合
  • Loading branch information
GUSSAN-BEEDAN committed May 11, 2022
1 parent b1b24e7 commit 255e6f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webroot/css/admin/addstyle_3rd.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ body {
height: auto !important;
}

/* アップローダーパネル、画像のアスペクト比崩れ予防(768px以上を含む) */
#DivPanelList .selectable-file img{
object-fit: cover;
}

/* バルーンチップのウィンドウ幅調整(768px以上を含む) */
.bt-content {
max-width: 400px;
Expand Down
4 changes: 4 additions & 0 deletions webroot/css/admin/addstyle_agr.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ body {
#ToolBar {
z-index: 10000 !important;
}
/* アップローダーパネル、画像のアスペクト比崩れ予防(768px以上を含む) */
#DivPanelList .selectable-file img{
object-fit: cover;
}


@media screen and (max-width: 900px) {
Expand Down

0 comments on commit 255e6f1

Please sign in to comment.