aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/style.css
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-02-28 21:31:25 +0000
committerClaude <noreply@anthropic.com>2026-02-28 21:31:25 +0000
commit15aa629972c4bd9fd3ab5ddb442783483f57a61f (patch)
tree548fdb97d60279d7f83a0f92695a830d6940c3e1 /frontend-vanilla/src/style.css
parent81c35390da64a061a9a8867c497eb992f05340bc (diff)
downloadneko-15aa629972c4bd9fd3ab5ddb442783483f57a61f.tar.gz
neko-15aa629972c4bd9fd3ab5ddb442783483f57a61f.tar.bz2
neko-15aa629972c4bd9fd3ab5ddb442783483f57a61f.zip
Add AGENTS.md and fix star button tap targets on mobile
Add AGENTS.md with TDD workflow and check-in guidance for agents. Fix star buttons being nearly impossible to tap on mobile by: - Adding min-width/min-height of 44px for proper touch targets - Adding flex-shrink: 0 so the button isn't squeezed by long titles - Overriding generic button styles (height, text-transform, font-weight) that bled into the star button https://claude.ai/code/session_012CNdRhGhU3hxjrwvZt2BHZ
Diffstat (limited to 'frontend-vanilla/src/style.css')
-rw-r--r--frontend-vanilla/src/style.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css
index 47b2de2..757d213 100644
--- a/frontend-vanilla/src/style.css
+++ b/frontend-vanilla/src/style.css
@@ -490,6 +490,15 @@ select:focus {
vertical-align: middle;
transition: color 0.2s;
line-height: 1;
+ flex-shrink: 0;
+ min-width: 44px;
+ min-height: 44px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: auto;
+ text-transform: none;
+ font-weight: normal;
}
.star-btn.is-starred {