Skip to content

Commit 212a9ab

Browse files
fix(alpha): Decrease the size of stream illustration
1 parent 793a265 commit 212a9ab

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/assets/stylesheets/components/images.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
outline: 1px solid var(--color-box-shadow);
66
outline-offset: -1px;
77
}
8+
9+
.illustration--alt {
10+
max-width: 9rem;
11+
}

src/views/streams/show.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
{% block body %}
2828
<div class="cols cols--gap-large">
29-
<div class="col--size3 text--center">
29+
<div class="col--size2 text--center">
3030
{% if can(app.user, 'update', stream) %}
3131
<button
3232
class="button--edit-image"
@@ -38,7 +38,7 @@
3838
title="{{ t('Change the illustration') }}"
3939
>
4040
<img
41-
class="illustration"
41+
class="illustration illustration--alt"
4242
alt=""
4343
src="{{ url_media('covers', stream.image_filename, 'stream-card.png') }}"
4444
>
@@ -49,7 +49,7 @@
4949
</button>
5050
{% else %}
5151
<img
52-
class="illustration"
52+
class="illustration illustration--alt"
5353
alt=""
5454
src="{{ url_media('covers', stream.image_filename, 'stream-card.png') }}"
5555
>

0 commit comments

Comments
 (0)