diff --git a/.github/workflows/autoformat.yml b/.github/workflows/autoformat.yml index bad7bd1..f2ddba0 100644 --- a/.github/workflows/autoformat.yml +++ b/.github/workflows/autoformat.yml @@ -13,8 +13,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + ref: ${{ github.head_ref }} - name: Prettify uses: creyD/prettier_action@v4.2 with: - ref: ${{ github.head_ref }} prettier_options: --write **/*.{js,html,css,md} diff --git a/css/index.css b/css/index.css index 4db5e50..f517418 100644 --- a/css/index.css +++ b/css/index.css @@ -136,7 +136,7 @@ body { color: #fff; } -#models { +.wideSelect { width: 100%; text-overflow: ellipsis; } diff --git a/index.html b/index.html index 04b80eb..0603acc 100644 --- a/index.html +++ b/index.html @@ -59,7 +59,10 @@
- +
@@ -104,7 +107,7 @@
- + @@ -136,6 +139,10 @@
+ +
Alpha release v0.0.7.5 diff --git a/js/index.js b/js/index.js index 1640d45..c2eaa78 100644 --- a/js/index.js +++ b/js/index.js @@ -884,3 +884,9 @@ imageCollection.element.addEventListener( }, {passive: false} ); + +function resetToDefaults() { + if (confirm("Are you sure you want to clear your settings?")) { + localStorage.clear(); + } +}