diff --git a/client/components/document/index.tsx b/client/components/document/index.tsx index 4b1a08ff..a1040541 100644 --- a/client/components/document/index.tsx +++ b/client/components/document/index.tsx @@ -114,6 +114,7 @@ const Document = ({ remove, editable, title, content, setTitle, setContent, init label="Filename" disabled={!editable} width={"100%"} + id={title} /> {remove && editable && diff --git a/client/pages/post/styles.module.css b/client/pages/post/styles.module.css index 5bcfe224..9691f87f 100644 --- a/client/pages/post/styles.module.css +++ b/client/pages/post/styles.module.css @@ -1,11 +1,23 @@ .header { - display: flex; - justify-content: space-between; - align-items: center; + display: flex; + justify-content: space-between; + align-items: center; +} + +.header .titleAndBadge { + display: flex; + text-align: center; + justify-content: space-between; + align-items: center; } @media screen and (max-width: 650px) { - .header { - flex-direction: column; - } -} \ No newline at end of file + .header { + flex-direction: column; + } + + .header .titleAndBadge { + flex-direction: column; + padding-bottom: var(--gap-double); + } +}