summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2015-04-01 13:06:12 +0300
committerAlon Levy <alon@pobox.com>2015-04-02 00:33:37 +0300
commitf70b33b914ee22c07c22941273f5bda73474fa68 (patch)
tree5cf91a3e15094e5cb70eca5b637155e35809832e /res
parent60c43869630ac94b1725d95f32efff9b2afd7617 (diff)
client/typeselection: switch from absolute positioning to child of node
means that the text moves with the node now, plus allows for setting the node position asynchronously with setting the typeselection.
Diffstat (limited to 'res')
-rw-r--r--res/templates/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/templates/index.html b/res/templates/index.html
index 42c83a94..e50bff95 100644
--- a/res/templates/index.html
+++ b/res/templates/index.html
@@ -135,7 +135,7 @@ var rz_config = { // set as a global variable
</div>
</div>
<div id="graph-view__canvas"></div>
- <div class="type_selection" style="display:none">
+ <div class="type_selection" style="display:none; width:400px; top: 20px">
<div class="type_selection__row" id="type_selection__intro">Change node type with <span class="kbd-button">Shift</span>+<span class="kbd-button">Up</span> and <span class="kbd-button">Shift</span>+<span class="kbd-button">Down</span></div>
<div class="type_selection__row" id="type_selection__chosen_type_label">Chosen Type: <span id="type_selection__chosen_type_name"/></div>
<div class="type_selection__row" id="type_selection__chosen_type_desc"></div>