* UI: #334 add config page language setting * temporary remove logout button * Unify fullscreen view class for dialog expanded and settings view - Replace dialog-expanded and settings-view with single fullscreen-view class - Update ResponsiveDialog to use fullscreen-view class - Update CalendarLayout to use fullscreen-view class for settings view - Consolidate CSS rules in Menubar.styl to use fullscreen-view - Update test cases to use new class name --------- Co-authored-by: Lê Nhân Phụng <lenhanphung@Phung-Mac-M4.local>
This commit is contained in:
@@ -149,9 +149,9 @@ function ResponsiveDialog({
|
||||
|
||||
React.useEffect(() => {
|
||||
if (isExpanded) {
|
||||
document.body.classList.add("dialog-expanded");
|
||||
document.body.classList.add("fullscreen-view");
|
||||
} else {
|
||||
document.body.classList.remove("dialog-expanded");
|
||||
document.body.classList.remove("fullscreen-view");
|
||||
}
|
||||
}, [isExpanded]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user