Browse Source

Style h3.

main
Titouan Rigoudy 4 years ago
parent
commit
212a6a3411
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      src/index.css
  2. +1
    -1
      src/modules/room/RoomChatHeader.tsx

+ 4
- 0
src/index.css View File

@ -27,3 +27,7 @@ body,
.text-input { .text-input {
@apply px-2 py-1 rounded border border-gray-400; @apply px-2 py-1 rounded border border-gray-400;
} }
h3 {
@apply font-bold text-yellow-800 text-xl;
}

+ 1
- 1
src/modules/room/RoomChatHeader.tsx View File

@ -10,7 +10,7 @@ interface InnerProps {
const InnerHeader: FC<InnerProps> = ({ title, children }) => ( const InnerHeader: FC<InnerProps> = ({ title, children }) => (
<div className="flex justify-between px-3 py-1"> <div className="flex justify-between px-3 py-1">
<h2 className="text-xl font-bold text-yellow-800">{title}</h2>
<h3>{title}</h3>
{children} {children}
</div> </div>
); );


Loading…
Cancel
Save