Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/ui/components/ComposeBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -652,14 +652,15 @@ export const ComposeBox = ({
</button>
<button
type="submit"
className="icon-button compose-icon-button"
className="icon-button compose-icon-button compose-submit-button"
aria-label="게시"
disabled={isSubmitting}
>
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M22 2L11 13" />
<path d="M22 2l-7 20-4-9-9-4 20-7z" />
</svg>
<span>전송</span>
</button>
</div>
</div>
Expand Down
23 changes: 20 additions & 3 deletions src/ui/styles/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -744,17 +744,34 @@
}

.compose-icon-button {
background: var(--color-secondary-button-bg);
color: var(--color-secondary-button-text);
border: 1px solid var(--color-secondary-button-border);
background: var(--color-action-bg);
color: var(--color-action-text);
border: 1px solid var(--color-action-bg);
width: 34px;
height: 34px;
}

.compose-icon-button:not(.compose-submit-button) {
width: 34px;
}

.compose-icon-button:disabled {
opacity: 0.5;
}

.compose-submit-button {
width: auto !important;
min-width: 34px;
padding: 8px 12px !important;
display: flex;
align-items: center;
gap: 6px;
}

.compose-submit-button svg {
flex-shrink: 0;
}

.compose-emoji-panel {
margin-top: 12px;
border: 1px solid var(--color-emoji-panel-border);
Expand Down
Loading