-
Improvement
-
Resolution: Won't Fix
-
Low
-
None
We have this hack in CSS for demo.moodle.net and co:
commit 8257537da0dd64be58a2a712e1d33abe8fd0691d
|
Author: David Mudrák <david@moodle.com>
|
Date: Mon Feb 24 22:25:58 2014 +0100
|
|
Make there more space for the sitesbar
|
---
|
theme/bootstrapbase/less/moodle.less | 2 +-
|
theme/bootstrapbase/style/moodle.css | 2 +-
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
Its only does this:
diff --git a/theme/bootstrapbase/less/moodle.less b/theme/bootstrapbase/less/moodle.less
|
index f608816..c127171 100644
|
--- a/theme/bootstrapbase/less/moodle.less
|
+++ b/theme/bootstrapbase/less/moodle.less
|
@@ -43,7 +43,7 @@
|
// Needs to be between bootstrap/bootstrap and
|
// bootstrap/responsive.
|
body {
|
- padding-top: 60px;
|
+ padding-top: 60px + 40px; // Added 40px for our sitebar
|
}
|
|
// New Moodle stuff that builds on Bootstrap.
|
But its really annoying because it causes conflicts on every single upgrade due to the less file constantly being rebuilt.
It would be good to get rid of that less part of the hack. Couldn't we just put the padding change in another stylesheet and avoid having this conflict every time?
- Discovered while testing
-
MDLSITE-3981 Upgrade school.demo.moodle.net to 2.9
- Resolved
-
MDLSITE-3982 Upgrade demo.moodle.net to 2.9
- Resolved
-
MDLSITE-4105 Upgrade demo.moodle.net to 2.9.1
- Resolved