Wider modal for view YABs

Wider modal for view YABs
This commit is contained in:
cp6 2021-01-22 10:48:11 +11:00
parent efe2bd72e0
commit 97bb0c6691
2 changed files with 4 additions and 1 deletions

View File

@ -57,6 +57,9 @@ body {
.container { .container {
max-width: 960px max-width: 960px
} }
.modal-lg {
max-width: 800px;
}
} }
@media (min-width: 1200px) { @media (min-width: 1200px) {

View File

@ -627,7 +627,7 @@ class idlers extends helperFunctions
$this->tagClose('div', 3); $this->tagClose('div', 3);
$this->outputString('<div class="modal fade" id="yabsModal" tabindex="-1" role="dialog" aria-labelledby="yabsmodalview" aria-hidden="true">'); $this->outputString('<div class="modal fade" id="yabsModal" tabindex="-1" role="dialog" aria-labelledby="yabsmodalview" aria-hidden="true">');
$this->outputString('<div class="modal-dialog" role="document">'); $this->outputString('<div class="modal-dialog modal-lg" role="document">');
$this->outputString('<div class="modal-content text-center">'); $this->outputString('<div class="modal-content text-center">');
$this->tagOpen('div', 'modal-header'); $this->tagOpen('div', 'modal-header');
$this->outputString('<h4 class="modal-title w-100" id="yabs_hostname_header"></h4>'); $this->outputString('<h4 class="modal-title w-100" id="yabs_hostname_header"></h4>');