From b97c20834ba0da0e1393d25f082a7a8ef99f69c5 Mon Sep 17 00:00:00 2001 From: sean Date: Fri, 1 Sep 2017 16:36:07 +0800 Subject: [PATCH] =?UTF-8?q?opti:=20=E4=BC=98=E5=8C=96=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E5=90=8D=E5=A4=AA=E9=95=BF=E5=AF=BC=E8=87=B4=E5=B7=A6=E4=BE=A7?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Project/Interface/InterfaceList/InterfaceMenu.js | 4 ++-- client/containers/Project/Interface/interface.scss | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/client/containers/Project/Interface/InterfaceList/InterfaceMenu.js b/client/containers/Project/Interface/InterfaceList/InterfaceMenu.js index af79220c..89cb2b3d 100644 --- a/client/containers/Project/Interface/InterfaceList/InterfaceMenu.js +++ b/client/containers/Project/Interface/InterfaceList/InterfaceMenu.js @@ -254,8 +254,8 @@ class InterfaceMenu extends Component { case 'DELETE': color = 'red'; break; default: color = "yellow"; } - return this.enterItem(item._id)} onMouseLeave={this.leaveItem} > + return this.enterItem(item._id)} onMouseLeave={this.leaveItem} > {item.method}{item.title} { this.showConfirm(item._id) }} style={{ display: this.state.delIcon == item._id ? 'block' : 'none' }} /> } diff --git a/client/containers/Project/Interface/interface.scss b/client/containers/Project/Interface/interface.scss index e1bebb9e..15727374 100644 --- a/client/containers/Project/Interface/interface.scss +++ b/client/containers/Project/Interface/interface.scss @@ -63,7 +63,9 @@ width:auto !important; } .interface-item{ - display: inline + display: inline-block; + width: 180px; + overflow: hidden; } .interface-item-nav{ line-height:25px;