Apply pill shape (border-radius 20px) to all buttons and sidebar nav items

This commit is contained in:
Krao Hasanee
2026-05-14 15:48:23 -04:00
parent 53b591697a
commit 13bb0f7914
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -2373,7 +2373,7 @@ function DimensionEditorModal({ sourceImage, onApply, onCancel }) {
<button onClick={onCancel} style={{ background: 'none', border: 'none', cursor: 'pointer', color: 'var(--text-muted)', fontSize: 18, lineHeight: 1, padding: '0 2px' }}></button>
</div>
<div style={{ padding: '10px 18px', borderBottom: '1px solid var(--border)', display: 'flex', alignItems: 'center', gap: 10, flexWrap: 'wrap', background: 'var(--card-bg-2, var(--card-bg))', flexShrink: 0 }}>
<div style={{ display: 'flex', border: '1px solid var(--border)', borderRadius: 6, overflow: 'hidden' }}>
<div style={{ display: 'flex', border: '1px solid var(--border)', borderRadius: 20, overflow: 'hidden' }}>
{[
['line', 'Line'],
['box', 'Box'],
@@ -3485,7 +3485,7 @@ function PhotoEditorModal({
{/* Toolbar */}
<div style={{ padding: '10px 18px', borderBottom: '1px solid var(--border)', display: 'flex', alignItems: 'center', gap: 12, flexWrap: 'wrap', background: 'var(--card-bg-2, var(--card-bg))', flexShrink: 0 }}>
<div style={{ display: 'flex', border: '1px solid var(--border)', borderRadius: 6, overflow: 'hidden' }}>
<div style={{ display: 'flex', border: '1px solid var(--border)', borderRadius: 20, overflow: 'hidden' }}>
{[
['select', 'Select'],
['dimension', 'Line Dim'],