fix: portrait mode for mobile

This commit is contained in:
mco-system 2023-04-11 20:14:14 +11:00
parent 5cd1151d46
commit 961d5d00ea
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,3 @@
.slot {
display: flex;
flex: 1;
@ -67,6 +66,10 @@
display: inline-block;
}
.speaker_details:hover {
cursor: pointer;
}
.speaker .details {
visibility: hidden;
background-color: var(--main-color);

View File

@ -4,8 +4,8 @@
{% for speaker in slot.speakers %}
<div class="speaker">
{{speaker.name | title}}
<i class="speaker_details fa-solid fa-user"></i>
{% if speaker.avatar or speaker.biography %}
<i class="speaker_details fa-solid fa-user"></i>
<div class="details">
{% if speaker.avatar %}
<img src="{{speaker.avatar}}"