• Will Chen's avatar
    Make action header more horizontally dense (#1629) · 8a3bc538
    Will Chen 提交于
    <!-- CURSOR_SUMMARY -->
    > [!NOTE]
    > Make preview header buttons more horizontally dense by stacking
    label/badge under smaller icons and standardizing icon size.
    > 
    > - **UI (ActionHeader)**:
    >   - **Button layout**:
    > - Replace shared `BUTTON_CLASS_NAME` with inline classes to reduce
    padding, gap, and font size; use `flex-col` for stacked icon/label.
    > - Wrap label and badge in a single `span` for tighter vertical
    grouping.
    >   - **Icons**:
    > - Introduce `iconSize = 15` and apply to `Eye`, `AlertTriangle`,
    `Code`, `Wrench`, `Globe` for consistent sizing.
    > 
    > <sup>Written by [Cursor
    Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
    9cfe3ba52b79c9176289d077ffcbaf57b1613f44. This will update automatically
    on new commits. Configure
    [here](https://cursor.com/dashboard?tab=bugbot).</sup>
    <!-- /CURSOR_SUMMARY -->
    8a3bc538
ActionHeader.tsx 8.9 KB