From 36d3c32d2489a2b1aa15cfef91d18399ff4922f8 Mon Sep 17 00:00:00 2001 From: Felix Niklas Date: Tue, 9 Dec 2014 11:12:51 +0100 Subject: [PATCH] fix firefox flex bug in ticket zoom --- .../javascripts/app/views/ticket_zoom.jst.eco | 98 +++++++++---------- app/assets/stylesheets/zammad.css.scss | 12 ++- 2 files changed, 59 insertions(+), 51 deletions(-) diff --git a/app/assets/javascripts/app/views/ticket_zoom.jst.eco b/app/assets/javascripts/app/views/ticket_zoom.jst.eco index b66fe5fe6..9d5580fd7 100644 --- a/app/assets/javascripts/app/views/ticket_zoom.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom.jst.eco @@ -1,58 +1,56 @@ -
-
-
-
-
- <%- @C('ticket_hook') %> <%- @ticket.number %> -
-
- 1/36 -
- +
+
+
+
+ <%- @C('ticket_hook') %> <%- @ticket.number %> +
+
+ 1/36 +
+ +
+ -
-
+
+ +
+ +
+
+
diff --git a/app/assets/stylesheets/zammad.css.scss b/app/assets/stylesheets/zammad.css.scss index 6f6e894be..cf079ee00 100644 --- a/app/assets/stylesheets/zammad.css.scss +++ b/app/assets/stylesheets/zammad.css.scss @@ -3442,6 +3442,8 @@ footer { .tabsSidebar-holder { overflow: hidden; position: relative; + @extend .flex; + @extend .vertical; } .tabsSidebar .sidebar { @@ -3500,7 +3502,7 @@ footer { position: absolute; right: 0; top: 0; - bottom: 0; + bottom: 60px; transition: 500ms; } @@ -4799,6 +4801,14 @@ body.fit { flex: 1; } +.flex-full { + -webkit-box-flex: 1; + -webkit-flex: 1 1 100%; + -moz-flex: 1 1 100%; + -ms-flex: 1 1 100%; + flex: 1 1 100%; +} + .flex-auto { -webkit-box-flex: 1; -webkit-flex: 1 1 auto;