aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2014-04-18 15:08:16 +0000
committerjeroenpraat <jeroenpraat@xs4all.nl>2014-04-18 15:08:16 +0000
commit2ac7fb49b6567f31644da99da5b43fabf09fe067 (patch)
tree17ba99b993dde93990ad62d6e5a15465be0f7462
parent59eb3b3351ca38851248aa4b3b072e160dc9555b (diff)
downloadvolse-hubzilla-2ac7fb49b6567f31644da99da5b43fabf09fe067.tar.gz
volse-hubzilla-2ac7fb49b6567f31644da99da5b43fabf09fe067.tar.bz2
volse-hubzilla-2ac7fb49b6567f31644da99da5b43fabf09fe067.zip
This should fix the preview allignment permantly.
-rw-r--r--view/theme/redbasic/css/style.css5
-rwxr-xr-xview/tpl/jot.tpl2
2 files changed, 5 insertions, 2 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index c43ed5a7e..74738c537 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -2291,7 +2291,10 @@ blockquote {
.btn-default.btn-sm:hover, .btn-default.btn-sm:focus, .btn-default.btn-sm:active .btn-default.btn-sm.active {
text-decoration: none;
- z-index: 0;
+}
+
+.btn-preview, .btn-preview:hover, .btn-preview:focus, .btn-preview:active {
+ margin-right: 1px;
}
@media screen and (max-width: 767px) {
diff --git a/view/tpl/jot.tpl b/view/tpl/jot.tpl
index c4fdba0f5..2fd24d5ff 100755
--- a/view/tpl/jot.tpl
+++ b/view/tpl/jot.tpl
@@ -81,7 +81,7 @@
</button>
{{/if}}
{{if $preview}}
- <button class="btn btn-default btn-sm" onclick="preview_post();return false;" title="{{$preview}}">
+ <button class="btn btn-default btn-sm btn-preview" onclick="preview_post();return false;" title="{{$preview}}">
<i class="icon-eye-open jot-icons" ></i>
</button>
{{/if}}