diff --git a/package.json b/package.json index 8f11a959..d0bf5c88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "impro", - "version": "0.20.58", + "version": "0.20.59", "type": "module", "scripts": { "start": "rm -rf \"${BUILD_DIR:-build}\" && NODE_ENV=development eleventy --serve", diff --git a/src/css/style.css b/src/css/style.css index 33fa7196..5c2f9052 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -7883,8 +7883,15 @@ context-menu-item-group > context-menu-item { margin-bottom: 0; } -context-menu-item-group > context-menu-item:not(:last-child) { - border-bottom: var(--hair) solid var(--post-border-color); +/* workaround for iOS Safari subpixel rounding */ +context-menu-item-group > context-menu-item:not(:last-child)::after { + content: ""; + display: block; + width: 100%; + height: 1px; + background-color: var(--post-border-color); + transform: scaleY(0.5); + transform-origin: bottom; } context-menu-item-group > context-menu-item > button { @@ -7975,8 +7982,8 @@ context-menu-item-group > context-menu-item > button { margin-bottom: 0; } - context-menu-item-group > context-menu-item:not(:last-child) { - border-bottom: none; + context-menu-item-group > context-menu-item:not(:last-child)::after { + display: none; } context-menu-item-group:not(:last-child) {