icon fixes, loading optimizations

This commit is contained in:
Dennis Eichhorn 2023-10-20 13:08:56 +00:00
parent f4cea3a467
commit fd2ccee594
3 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ html, body {
margin: 0;
height: 100%;
max-height: 100%;
font-family: 'Roboto', sans-serif;
font-family: 'Arial', Helvetica, sans-serif;
}
body {

View File

@ -59,7 +59,7 @@ echo $this->data['nav']->render(); ?>
<?php $tags = $question->getTags(); foreach ($tags as $tag) :
if ($tag->id === 0) { continue; }
?>
<span class="tag"><?= empty($tag->icon) ? '' : '<i class="' . $this->printHtml($tag->icon) . '"></i>'; ?><?= $this->printHtml($tag->getL11n()); ?></span>
<span class="tag"><?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?><?= $this->printHtml($tag->getL11n()); ?></span>
<?php endforeach; ?>
</div>

View File

@ -73,7 +73,7 @@ echo $this->data['nav']->render();
foreach ($tags as $tag) :
if ($tag->id === 0) { continue; }
?>
<span class="tag"><?= empty($tag->icon) ? '' : '<i class="' . $this->printHtml($tag->icon) . '"></i>'; ?><?= $this->printHtml($tag->getL11n()); ?></span>
<span class="tag"><?= empty($tag->icon) ? '' : '<i class="g-icon">' . $this->printHtml($tag->icon) . '</i>'; ?><?= $this->printHtml($tag->getL11n()); ?></span>
<?php endforeach; ?>
</div>