From b31adf1df3b2839a6d52b427e9daa960caba63a9 Mon Sep 17 00:00:00 2001 From: OttoMao Date: Mon, 20 Jul 2015 11:19:36 +0800 Subject: [PATCH] bugfix for the rule description in web ui --- lib/rule_default.js | 2 +- web/css/page.css | 7 +++++-- web/index.html | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/rule_default.js b/lib/rule_default.js index c306e68..cdba36f 100644 --- a/lib/rule_default.js +++ b/lib/rule_default.js @@ -10,7 +10,7 @@ var mapConfig = []; module.exports = { summary:function(){ - var tip = "the default rule for AnyProxy which supports CORS. "; + var tip = "the default rule for AnyProxy which supports CORS."; if(!isRootCAFileExists){ tip += "\nRoot CA does not exist, will not intercept any https requests."; } diff --git a/web/css/page.css b/web/css/page.css index dee8af2..9e14fbc 100644 --- a/web/css/page.css +++ b/web/css/page.css @@ -62,8 +62,11 @@ body, html { } .topHead .ctrlWrapper{ - height: 26px; - line-height: 26px; + height : 26px; + line-height : 26px; + overflow : hidden; + text-overflow : ellipsis; + white-space : nowrap; } .topHead .ctrlWrapper .sep{ diff --git a/web/index.html b/web/index.html index 482850f..689e34b 100644 --- a/web/index.html +++ b/web/index.html @@ -44,7 +44,7 @@ | {@/if} - Rule : ${rule} + Rule : ${rule}