From 7f15ee6137f8eef6fdd9f87d386a3c6fbc02463a Mon Sep 17 00:00:00 2001 From: miller45 Date: Thu, 22 Aug 2019 15:21:10 +0200 Subject: [PATCH 1/4] explicit css classes for modals medial querys for larger (screenshot) modal dialogs --- lib/assets/bootstrap.css | 11 +++++++++++ lib/assets/main.css | 4 ---- lib/pbr-screenshot-modal.html | 2 +- lib/pbr-stack-modal.html | 2 +- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/lib/assets/bootstrap.css b/lib/assets/bootstrap.css index 8787780..b8d5d1c 100644 --- a/lib/assets/bootstrap.css +++ b/lib/assets/bootstrap.css @@ -5990,6 +5990,17 @@ button.close { width: 900px; } } +@media (min-width: 1200px) { + .modal-lg { + width: 1100px; + } +} +@media (min-width: 1600px) { + .modal-lg { + width: 1250px; + } +} + .tooltip { position: absolute; z-index: 1070; diff --git a/lib/assets/main.css b/lib/assets/main.css index 8f5f36c..3eed79f 100644 --- a/lib/assets/main.css +++ b/lib/assets/main.css @@ -6,10 +6,6 @@ h2 { margin-top: 0; } -.modal-lg { - width: 95%; -} - .highlight { background-color: #ffd600; } diff --git a/lib/pbr-screenshot-modal.html b/lib/pbr-screenshot-modal.html index be93e3e..750c489 100644 --- a/lib/pbr-screenshot-modal.html +++ b/lib/pbr-screenshot-modal.html @@ -1,6 +1,6 @@