how to remove the focus on disclosure panel's header

a 夏天 提交于 2019-12-24 15:53:31

问题


i noticed that whenever i click the disclosure panel's header, it got focused, namely you can see the black dotted border around the header, is there any way i can get rid of that? Thanks.


回答1:


You can achieve this by setting css style outline:0 on the Disclosure header:

.gwt-DisclosurePanel .header {
  outline:0;
}

See also http://css-tricks.com/removing-the-dotted-outline/ Basically you need to remove the outline from the a anchor element.



来源:https://stackoverflow.com/questions/5034312/how-to-remove-the-focus-on-disclosure-panels-header

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!