Skip to content

Commit

Permalink
Fix moving OL items on Safari mobile
Browse files Browse the repository at this point in the history
Also fix long words overflowing panel.

Close #90 and close #89.
  • Loading branch information
noyainrain committed Nov 15, 2019
1 parent f762163 commit 786b736
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion boilerplate/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
noyainrain.micro ~= 0.45.0
noyainrain.micro ~= 0.45.1
4 changes: 2 additions & 2 deletions client/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -886,8 +886,8 @@ micro.OL = class extends HTMLOListElement {

// Locate li the pointer is over
if (event.type === "touchmove") {
x = event.targetTouches[0].clientX;
y = event.targetTouches[0].clientY;
x = event.changedTouches[0].clientX;
y = event.changedTouches[0].clientY;
} else {
x = event.clientX;
y = event.clientY;
Expand Down
2 changes: 2 additions & 0 deletions client/micro.css
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,7 @@ legend {

.micro-panel-main {
flex: auto;
min-width: 0;
}

/* ---- Entity list ---- */
Expand Down Expand Up @@ -502,6 +503,7 @@ legend {

.micro-heading > h1 {
flex: auto;
min-width: 0;
padding: 0;
font-size: 2rem;
}
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@noyainrain/micro",
"version": "0.45.0",
"version": "0.45.1",
"description": "Toolkit for social micro web apps.",
"repository": "noyainrain/micro",
"license": "LGPL-3.0",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='noyainrain.micro',
version='0.45.0',
version='0.45.1',
url='https://github.com/noyainrain/micro',
maintainer='Sven James',
maintainer_email='[email protected]',
Expand Down

0 comments on commit 786b736

Please sign in to comment.