summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-20 10:02:55 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-11-20 10:02:55 +0000
commit3b8e8ff6eb28261f3d3b0cb5a9edd00bd8fbdb1e (patch)
treeaabab65a9c6d6f4b8e95e1f3c78a14f9f40dcf8b /themes
parentd35abf8f711fa2afc8106f2227c537f415a3fe0c (diff)
downloadbrdo-3b8e8ff6eb28261f3d3b0cb5a9edd00bd8fbdb1e.tar.gz
brdo-3b8e8ff6eb28261f3d3b0cb5a9edd00bd8fbdb1e.tar.bz2
#875132 follow-up by seutje, sun, Jacine: Better method of preventing contextual links from cutting off in footer.
Diffstat (limited to 'themes')
-rw-r--r--themes/bartik/css/style.css8
-rw-r--r--themes/bartik/template.php7
2 files changed, 12 insertions, 3 deletions
diff --git a/themes/bartik/css/style.css b/themes/bartik/css/style.css
index 3f9257a2b..7b36f6186 100644
--- a/themes/bartik/css/style.css
+++ b/themes/bartik/css/style.css
@@ -755,11 +755,13 @@ ul.links {
padding: 0;
border: none;
}
-#footer .block,
-#footer .block .content {
- overflow: hidden;
+#footer .block {
margin: .5em 0;
}
+#footer .block .content {
+ padding: .5em 0;
+ margin-top: 0;
+}
#footer .block h2 {
margin: 0;
}
diff --git a/themes/bartik/template.php b/themes/bartik/template.php
index acc04a0f2..9e010d300 100644
--- a/themes/bartik/template.php
+++ b/themes/bartik/template.php
@@ -108,3 +108,10 @@ function bartik_preprocess_block(&$variables) {
$variables['title_attributes_array']['class'][] = 'element-invisible';
}
}
+
+/**
+ * Implements theme_menu_tree().
+ */
+function bartik_menu_tree($variables) {
+ return '<ul class="menu clearfix">' . $variables['tree'] . '</ul>';
+}