Integrate swipe and d-pad to transit entry_view #2
@ -3,7 +3,7 @@
|
|||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="result-wrap">
|
<div id="swipeZone" class="result-wrap">
|
||||||
|
|
||||||
<!-- Top bar: back + counter + clear Prev/Next -->
|
<!-- Top bar: back + counter + clear Prev/Next -->
|
||||||
<div class="result-toolbar">
|
<div class="result-toolbar">
|
||||||
@ -183,6 +183,9 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
/* prevent horizontal jiggle while swiping */
|
||||||
|
#swipeZone{ touch-action: pan-y; overscroll-behavior-x: none; overflow-x: hidden; }
|
||||||
|
|
||||||
.subject-pills{
|
.subject-pills{
|
||||||
display:flex;
|
display:flex;
|
||||||
flex-wrap:wrap;
|
flex-wrap:wrap;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user