From 20836bb4d48195fbba20ae7b1fde2c52015c0490 Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Sat, 3 May 2014 16:30:18 +0200 Subject: [PATCH 1/2] Fix StepsEditor labeling position bug on fontsizechange --- .../default/InlineTimingFunctionEditor/main.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/extensions/default/InlineTimingFunctionEditor/main.css b/src/extensions/default/InlineTimingFunctionEditor/main.css index 1ede4426e04..49c34dc5d76 100644 --- a/src/extensions/default/InlineTimingFunctionEditor/main.css +++ b/src/extensions/default/InlineTimingFunctionEditor/main.css @@ -55,10 +55,10 @@ .bezier-curve-editor .coordinate-plane:before, .bezier-curve-editor .coordinate-plane:after { position: absolute; - bottom: 0%; + bottom: 0; left: 0; width: 100%; - padding: .3em .5em; + padding: 2px 3px; -moz-box-sizing: border-box; box-sizing: border-box; @@ -207,10 +207,10 @@ .step-editor .coordinate-plane:before, .step-editor .coordinate-plane:after { position: absolute; - bottom: 0%; - left: 0; + bottom: calc(11px - 1em); + left: calc(13px - 1em); width: 100%; - padding: .3em .5em; + padding: 2px 3px; -moz-box-sizing: border-box; box-sizing: border-box; From 592d2cdea3b61d2ba73f007e979ae5e6348ed918 Mon Sep 17 00:00:00 2001 From: Marcel Gerber Date: Sun, 4 May 2014 13:48:18 +0200 Subject: [PATCH 2/2] Pixel font-size --- .../default/InlineTimingFunctionEditor/main.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/extensions/default/InlineTimingFunctionEditor/main.css b/src/extensions/default/InlineTimingFunctionEditor/main.css index 49c34dc5d76..78c1e274d8e 100644 --- a/src/extensions/default/InlineTimingFunctionEditor/main.css +++ b/src/extensions/default/InlineTimingFunctionEditor/main.css @@ -58,13 +58,13 @@ bottom: 0; left: 0; width: 100%; - padding: 2px 3px; + padding: .3em .5em; -moz-box-sizing: border-box; box-sizing: border-box; color: #454545; - font-size: 75%; + font-size: 11px; line-height: 1; } @@ -207,16 +207,16 @@ .step-editor .coordinate-plane:before, .step-editor .coordinate-plane:after { position: absolute; - bottom: calc(11px - 1em); - left: calc(13px - 1em); + bottom: 0; + left: 0; width: 100%; - padding: 2px 3px; + padding: .3em .5em 0 .3em -moz-box-sizing: border-box; box-sizing: border-box; color: #454545; - font-size: 75%; + font-size: 11px; line-height: 1; }