Commit d776d40
Playground: hide motion-export buttons on mobile (#109)
* playground: balance the mobile toolbar export buttons
The two motion-export buttons (Download BVH / Download glTF) auto-flowed into
the mobile toolbar grid and landed in the left half of a row, leaving the
right half empty and the cluster looking ragged.
Group them in a `.tb-downloads` wrapper that is `display: contents` on desktop
(so the desktop flex toolbar is unchanged) and becomes a single full-width
grid row split into two equal halves on mobile. No design-language changes:
same buttons, colours, and radius, just a balanced layout.
Signed-off-by: Claude <noreply@anthropic.com>
* playground: hide motion-export buttons on mobile instead of balancing them
A downloaded .bvh/.glb is only useful in a desktop pipeline (Blender, a
Three.js project, a game engine), so the export buttons have no real audience
on a phone. Hide .tb-downloads on mobile entirely rather than laying it out as
a row, which removes the third toolbar row and keeps mobile to the two rows
that matter. Desktop is unchanged and still shows both buttons.
Signed-off-by: Claude <noreply@anthropic.com>
---------
Signed-off-by: Claude <noreply@anthropic.com>
Co-authored-by: Claude <noreply@anthropic.com>1 parent 94399be commit d776d40
2 files changed
Lines changed: 33 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
138 | 140 | | |
139 | 141 | | |
140 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
304 | 312 | | |
305 | 313 | | |
306 | 314 | | |
| |||
1599 | 1607 | | |
1600 | 1608 | | |
1601 | 1609 | | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
1602 | 1617 | | |
1603 | 1618 | | |
1604 | 1619 | | |
| |||
0 commit comments