Skip to content
Snippets Groups Projects
Commit ff8876bd authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Wikipedia img padding.

parent 64ff22d2
Branches
Tags
No related merge requests found
......@@ -25,3 +25,5 @@
font-size: inherit;
font-style: italic;
}
.wikipedia img { margin-right: 1rem; }
\ No newline at end of file
<? $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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment