From 59181b5a3e3630654ca5a0b36480bcd89ff06539 Mon Sep 17 00:00:00 2001 From: Thibault Duplessis Date: Fri, 3 May 2019 15:43:39 +0700 Subject: [PATCH] fix bot icon --- app/views/base/layout.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/base/layout.scala b/app/views/base/layout.scala index ea3821c8ee..7b71175208 100644 --- a/app/views/base/layout.scala +++ b/app/views/base/layout.scala @@ -83,7 +83,8 @@ object layout { input(spellcheck := "false", placeholder := trans.search.txt()) ) - private lazy val botImage = img(src := staticUrl("images/icons/bot.png"), title := "Robot chess", style := "display:inline;width:34px;height:34px;vertical-align:top;margin-right:5px;") + private lazy val botImage = img(src := staticUrl("images/icons/bot.png"), title := "Robot chess", style := + "display:inline;width:34px;height:34px;vertical-align:top;margin-right:5px;vertical-align:text-top") private val spaceRegex = """\s{2,}+""".r private def spaceless(html: String) = raw(spaceRegex.replaceAllIn(html.replace("\\n", ""), ""))