aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-04-17 09:36:06 -0700
committerAlex Yatskov <alex@foosoft.net>2016-04-17 09:36:06 -0700
commit1b3b33078e5e1d6ee638ca56d9d6094858472dec (patch)
treeae69b20bab02b412921b3e245382d538d4b390c4
parentc353ec04bc2b2e977d0788f676b5696dd5cf96dc (diff)
Appearance tweaking
-rw-r--r--ext/bg/js/templates.js6
-rw-r--r--ext/fg/css/client.css18
-rw-r--r--util/tmpl/defs.html1
3 files changed, 10 insertions, 15 deletions
diff --git a/ext/bg/js/templates.js b/ext/bg/js/templates.js
index 341610ca..7c9febcb 100644
--- a/ext/bg/js/templates.js
+++ b/ext/bg/js/templates.js
@@ -5,11 +5,7 @@ templates['defs.html'] = template({"1":function(container,depth0,helpers,partial
return " <div class=\"definition\">\n"
+ ((stack1 = container.invokePartial(partials["term.html"],depth0,{"name":"term.html","data":data,"indent":" ","helpers":helpers,"partials":partials,"decorators":container.decorators})) != null ? stack1 : "")
- + " "
- + ((stack1 = helpers.unless.call(depth0 != null ? depth0 : {},(data && data.last),{"name":"unless","hash":{},"fn":container.program(2, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
- + "\n </div>\n";
-},"2":function(container,depth0,helpers,partials,data) {
- return "<br>";
+ + " </div>\n";
},"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) {
var stack1, helper, alias1=depth0 != null ? depth0 : {};
diff --git a/ext/fg/css/client.css b/ext/fg/css/client.css
index 0262e820..16079a42 100644
--- a/ext/fg/css/client.css
+++ b/ext/fg/css/client.css
@@ -17,13 +17,13 @@
*/
iframe.yomichan-popup {
- all: initial;
- border: 1px solid #999;
- box-shadow: 0 0 10px rgba(0, 0, 0, .5);
- height: 300px;
- width: 500px;
- resize: both;
- position: fixed;
- visibility: hidden;
- z-index: 256;
+ all: initial;
+ border: 1px solid #999;
+ box-shadow: 0 0 10px rgba(0, 0, 0, .5);
+ height: 250px;
+ position: fixed;
+ resize: both;
+ visibility: hidden;
+ width: 400px;
+ z-index: 2147483647;
}
diff --git a/util/tmpl/defs.html b/util/tmpl/defs.html
index ebbb7f82..740648fb 100644
--- a/util/tmpl/defs.html
+++ b/util/tmpl/defs.html
@@ -9,7 +9,6 @@
{{#each defs}}
<div class="definition">
{{> term.html}}
- {{#unless @last}}<br>{{/unless}}
</div>
{{/each}}
</body>