Skip to content

Commit

Permalink
Apply layout for edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
sora32127 committed Apr 19, 2024
1 parent 35bd843 commit 7f89bce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/routes/_layout.archives.edit.$postId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export default function EditPost() {
type="text"
value={tagInputValue}
onChange={handleTagInputChange}
className="border border-gray-300 rounded-l px-4 py-2 w-full focus:outline-none focus:ring-2 focus:ring-blue-500 edit-tag-search-input"
className="border border-gray-300 rounded-l px-4 py-2 w-full focus:outline-none focus:ring-2 focus:ring-blue-500 edit-tag-search-input placeholder-slate-500"
placeholder="タグを検索"
/>
</div>
Expand Down Expand Up @@ -290,7 +290,7 @@ export default function EditPost() {
<input type="hidden" name="postContent" value={markdownContent} />
<button
type="submit"
className="rounded-md block w-full px-4 py-2 text-center text-white bg-blue-500 hover:bg-blue-600 edit-post-submit-button"
className="rounded-md block w-full px-4 py-2 text-center text-white bg-primary edit-post-submit-button"
disabled={navigation.state === "submitting"}
>
変更を保存する
Expand Down
2 changes: 1 addition & 1 deletion app/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ h1 {
}

.markdownEditorPreview th {
@apply bg-base-200 text-left font-semibold
@apply bg-inherit text-left font-normal

}

Expand Down

0 comments on commit 7f89bce

Please sign in to comment.