From 0ff0f096e87750ffc705857b90165cfb09e4ae1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20B=C3=BCning?= <jb@mint> Date: Sun, 15 Dec 2013 02:17:50 +0100 Subject: [PATCH] css fix --- wordpress_plugin/wz-status/index.php | 5 +++-- wordpress_plugin/wz-status/wz-status.css | 10 +++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/wordpress_plugin/wz-status/index.php b/wordpress_plugin/wz-status/index.php index 385fece..4c076ca 100644 --- a/wordpress_plugin/wz-status/index.php +++ b/wordpress_plugin/wz-status/index.php @@ -27,7 +27,8 @@ class WZ_Status extends WP_Widget { } public function widget( $args, $instance ) { - + extract($args); + echo $before_widget; echo <<<HTML <ul> <li><a class="zonenstatus" href="/api/static">Status: <span id="wankerTuerOffen" class="wankerClosed">Unbekannt</span></a></li> @@ -35,7 +36,7 @@ echo <<<HTML <li><a class="zonenstatus" href="/api/static">Werkstatt: <span id="wankerTempWerkstatt">--</span></a></li> </ul> HTML; - + echo $after_widget; } } diff --git a/wordpress_plugin/wz-status/wz-status.css b/wordpress_plugin/wz-status/wz-status.css index 7b98d31..5d83f5e 100644 --- a/wordpress_plugin/wz-status/wz-status.css +++ b/wordpress_plugin/wz-status/wz-status.css @@ -2,7 +2,7 @@ display: none; } #site-nav{ - border: 0px; + border: 0px !important; } .zonenstatus { padding: 15px 10px; @@ -10,3 +10,11 @@ color: #050000; font: 700 11px Sans-Serif; } +.wz_status { + float: right; +} +@media only screen and (max-width: 420px) { + .wz_status { + float: none; + } +} -- GitLab