Changeset:
bf3c842d9f98
https://sourceforge.net/p/mrbs/hg-code/ci/bf3c842d9f98c5b0bc50674c590e56cc56fd7a90
Author:
Campbell Morrison <[email protected]>
Date:
Sat Nov 12 07:14:59 2016 +0000
Log message:
Simplified the CSS and got rid of the occasional 1px gap in the month view
cells. All browsers nowadays (IE8+, Edge, Firefox, Opera, Chrome and Safari)
seem to be able to handle sub-pixel rounding sensibly.
diffstat:
web/css/mrbs.css.php | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
diffs (27 lines):
diff -r 0f0b5e0e0ef2 -r bf3c842d9f98 web/css/mrbs.css.php
--- a/web/css/mrbs.css.php Fri Nov 11 17:01:36 2016 +0000
+++ b/web/css/mrbs.css.php Sat Nov 12 07:14:59 2016 +0000
@@ -346,22 +346,8 @@
overflow: <?php echo ($month_cell_scrolling ? 'auto' : 'visible') ?>;
}
-<?php
-// We need to set the width of the bookings to be 50%. However because of the
way
-// different browsers round, we need to set it just below 50%, because if they
round up,
-// as some do, then two divs won't fit on a line and they will wrap.
-?>
-
div.description, div.slot {
- width: 49.9%; <?php // Fallback for browsers that don't support calc() ?>
-}
-
-div.description:nth-child(odd), div.slot:nth-child(odd) {
- width: calc(50%);
-}
-
-div.description:nth-child(even), div.slot:nth-child(even) {
- width: calc(50% - 1px);
+ width: 50%;
}
div.both {
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits