feat: upgrade dm styles
This commit is contained in:
@ -57,7 +57,8 @@ export default function Layout() {
|
||||
}, [location]);
|
||||
|
||||
useEffect(() => {
|
||||
if (location.pathname.startsWith("/login")) {
|
||||
const widePage = ["/login", "/messages"];
|
||||
if (widePage.some(a => location.pathname.startsWith(a))) {
|
||||
setPageClass("");
|
||||
} else {
|
||||
setPageClass("page");
|
||||
@ -162,7 +163,7 @@ export default function Layout() {
|
||||
|
||||
{!shouldHideNoteCreator && (
|
||||
<>
|
||||
<button className="note-create-button" type="button" onClick={handleNoteCreatorButtonClick}>
|
||||
<button className="note-create-button" onClick={handleNoteCreatorButtonClick}>
|
||||
<Icon name="plus" size={16} />
|
||||
</button>
|
||||
<NoteCreator />
|
||||
|
Reference in New Issue
Block a user