Skip to content

Commit

Permalink
CSS: Increase size of icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ConnorNelson committed Jan 24, 2024
1 parent b6c218b commit 182a453
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion dojo_theme/static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ h4 {
}

.card-icon {
width: 35%;
width: 50%;
font-size: 48px;
position: absolute;
top: 50%;
left: 50%;
Expand Down
4 changes: 2 additions & 2 deletions dojo_theme/templates/macros/widgets.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
{% if title %}<h4 class="card-title">{{ title }}</h4>{% endif %}
{% if text %}<p class="card-text">{{ text }}</p>{% endif %}
<div class="card-icon">
{% if icon %}<img src={{ icon }}>{% endif %}
{% if emoji %}<big>{{ emoji }}</big>{% endif %}
{% if icon %}<img src="{{ icon }}">{% endif %}
{% if emoji %}{{ emoji }}{% endif %}
</div>
{% if custom %}{{ caller() }}{% endif %}
</div>
Expand Down

0 comments on commit 182a453

Please sign in to comment.