From ff8876bd94ab6b69b9a336f22d57332eda4c2fbc Mon Sep 17 00:00:00 2001 From: Chris Hallberg <crhallberg@gmail.com> Date: Fri, 11 Mar 2016 15:51:54 -0500 Subject: [PATCH] Wikipedia img padding. --- themes/bootstrap3/less/components/search.less | 2 ++ themes/bootstrap3/templates/Recommend/AuthorInfo.phtml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/bootstrap3/less/components/search.less b/themes/bootstrap3/less/components/search.less index 9ea8dfe1be8..0cc861eb8e8 100644 --- a/themes/bootstrap3/less/components/search.less +++ b/themes/bootstrap3/less/components/search.less @@ -25,3 +25,5 @@ font-size: inherit; font-style: italic; } + +.wikipedia img { margin-right: 1rem; } \ No newline at end of file diff --git a/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml b/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml index dd7f09e4cf1..2bbd2c6de73 100644 --- a/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml +++ b/themes/bootstrap3/templates/Recommend/AuthorInfo.phtml @@ -1,6 +1,6 @@ <? $this->info = $this->recommend->getAuthorInfo() ?> <? if (!(empty($this->info['description']) || empty($this->info))): ?> -<div class="well clearfix"> +<div class="wikipedia well clearfix"> <h2><?=$this->info['name'] ?></h2> <? if (isset($this->info['image'])): ?> @@ -9,6 +9,6 @@ <?=preg_replace('/___baseurl___/', $this->url('search-results'), $this->info['description']) ?> - <a class="wikipedia" href="http://<?=$this->info['wiki_lang'] ?>.wikipedia.org/wiki/<?=$this->escapeHtmlAttr($this->info['name']/*url*/) ?>" target="new"><?=$this->transEsc('wiki_link') ?></a> + <a href="http://<?=$this->info['wiki_lang'] ?>.wikipedia.org/wiki/<?=$this->escapeHtmlAttr($this->info['name']/*url*/) ?>" target="new"><?=$this->transEsc('wiki_link') ?></a> </div> <? endif; ?> \ No newline at end of file -- GitLab