Browse Source

Changing static height and width to be constraints

pull/483/head
James Kirsop 4 years ago
parent
commit
93c6b7ccad
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      templates/base.html

+ 4
- 4
templates/base.html View File

@ -77,16 +77,16 @@
{% elif request.user.is_authenticated%} {% elif request.user.is_authenticated%}
<img <img
id="logo" id="logo"
height="50"
width="59"
max-height="50"
max-width="59"
src="{% static 'img/logo.png'%}" src="{% static 'img/logo.png'%}"
srcset="{% static 'img/logo.png'%} 1x, {% static 'img/[email protected]'%} 2x" srcset="{% static 'img/logo.png'%} 1x, {% static 'img/[email protected]'%} 2x"
alt="{{ site_name }}"> alt="{{ site_name }}">
{% else %} {% else %}
<img <img
id="logo" id="logo"
height="50"
width="200"
max-height="50"
max-width="200"
src="{% static 'img/logo-full.png'%}" src="{% static 'img/logo-full.png'%}"
srcset="{% static 'img/logo-full.png'%} 1x, {% static 'img/[email protected]'%} 2x" srcset="{% static 'img/logo-full.png'%} 1x, {% static 'img/[email protected]'%} 2x"
alt="{{ site_name }}"> alt="{{ site_name }}">


Loading…
Cancel
Save