diff options
| author | Alon Levy <alon@pobox.com> | 2015-03-01 13:00:38 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-03-01 13:01:22 +0200 |
| commit | 825cabb57c5d2bc2196b4110486d6c27c779b85b (patch) | |
| tree | 1d5cea4b7ffac50155d1736c1b4782c973ab109a /res/client/css | |
| parent | 866e51c1230cf1ea03c11b9bcd3ce41fc6168efc (diff) | |
client/svg-input: rewrite using width:auto, no more measure hack (Fix #338)
Source for inspiration / copying:
http://jsfiddle.net/brx3xm59/
http://stackoverflow.com/questions/9308938/inline-text-editing-in-svg
comment 2 by John Ktejik
Diffstat (limited to 'res/client/css')
| -rw-r--r-- | res/client/css/by-view/graph-view.scss | 9 | ||||
| -rw-r--r-- | res/client/css/style.css | 6 |
2 files changed, 15 insertions, 0 deletions
diff --git a/res/client/css/by-view/graph-view.scss b/res/client/css/by-view/graph-view.scss index f7729906..bb456716 100644 --- a/res/client/css/by-view/graph-view.scss +++ b/res/client/css/by-view/graph-view.scss @@ -222,3 +222,12 @@ #graph-view__canvas { height: inherit; // inherit from container which should be set to 100% } + +.insideforeign { + display: inline; +} + +// TODO: right to left language +.foreign { + text-align: left; +} diff --git a/res/client/css/style.css b/res/client/css/style.css index efc0d8b5..17fcc1b6 100644 --- a/res/client/css/style.css +++ b/res/client/css/style.css @@ -861,6 +861,12 @@ p { #graph-view__canvas { height: inherit; } +.insideforeign { + display: inline; } + +.foreign { + text-align: left; } + .welcome-box { margin-left: auto; margin-right: auto; |
