Skip to content

Commit

Permalink
Merge pull request #3526 from 5e-Cleric/fix-background-monster-in-safari
Browse files Browse the repository at this point in the history
Fixing Monster Frame background in Safari for iphone and ipad
  • Loading branch information
calculuschild authored Aug 1, 2024
2 parents 2dc397e + 84d0d15 commit bb06a3e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions themes/V3/5ePHB/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,14 @@
.useColumns(0.96, @fillMode: balance);
}

//only for IOS devices
@supports (-webkit-touch-callout: none) {
.page .monster.frame {
background-repeat : no-repeat;
background-size : cover;
}
}

// *****************************
// * FOOTER
// *****************************/
Expand Down Expand Up @@ -459,6 +467,7 @@
margin-left : 1.5em;
}
}

// *****************************
// * SPELL LIST
// *****************************/
Expand Down
1 change: 1 addition & 0 deletions themes/assets/assets.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
@noteBorderImage : url('/assets/noteBorder.png');
@descriptiveBoxImage : url('/assets/descriptiveBorder.png');
@monsterBlockBackground : url('/assets/parchmentBackgroundGrayscale.jpg');
@monsterBlockOverlay : url('/assets/parchmentBackgroundOverlayed.jpg');
@monsterBorderImage : url('/assets/monsterBorderFancy.png');
@codeBorderImage : url('/assets/codeBorder.png');
@classTableDecoration : url('/assets/classTableDecoration.png');
Expand Down

0 comments on commit bb06a3e

Please sign in to comment.