Browse Source

center images properly

pull/14/head
falkTX 5 years ago
parent
commit
0942c5c504
1 changed files with 11 additions and 1 deletions
  1. +11
    -1
      includes/header.php

+ 11
- 1
includes/header.php View File

@@ -141,7 +141,7 @@ if (false && $PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE !=
display: block; display: block;
} }
.img_clickable_overlay { .img_clickable_overlay {
position: absolute;
position: fixed;
top: 0px; top: 0px;
left: 0px; left: 0px;
width: 100%; width: 100%;
@@ -159,8 +159,18 @@ if (false && $PAGE_TYPE != "PASTE" && $PAGE_TYPE != "DONATIONS" && $PAGE_TYPE !=
display: block; display: block;
} }
.img_clickable_overlay > img { .img_clickable_overlay > img {
/*
display: block; display: block;
margin: 0 auto; margin: 0 auto;
*/
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
max-width: 100%;
max-height: 100%;
} }
</style> </style>
<?php } ?> <?php } ?>


Loading…
Cancel
Save