mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #35033 from overleaf/mj-drop-dark-mode-components-opt-in
[web] Remove explicit dark mode component opt-in GitOrigin-RevId: b28603a9989bd046039c247ee2cf9f740c9feac0
This commit is contained in:
committed by
Copybot
parent
e9127933e6
commit
ef8fce67f1
@@ -62,12 +62,8 @@ describe('<PdfLogsEntries/>', function () {
|
||||
)
|
||||
}
|
||||
|
||||
// TODO: Remove the ide-redesign-main wrapper when dark-mode buttons are rolled
|
||||
// out globally.
|
||||
const LogsPanel = ({ children }: { children: ReactElement }) => (
|
||||
<div className="ide-redesign-main">
|
||||
<div className="error-logs"> {children}</div>
|
||||
</div>
|
||||
<div className="error-logs"> {children}</div>
|
||||
)
|
||||
|
||||
const logEntries: LogEntry[] = [
|
||||
|
||||
@@ -29,13 +29,7 @@ const Layout: FC<{ layout: IdeLayout; view?: IdeView }> = ({
|
||||
}
|
||||
|
||||
const PdfViewer = ({ children }: { children: ReactElement }) => {
|
||||
return (
|
||||
// TODO: ide-redesign-cleanup: Remove the .ide-redesign-main wrapper when
|
||||
// the styles are no longer nested in that.
|
||||
<div className="ide-redesign-main">
|
||||
<div className="pdf-viewer">{children}</div>
|
||||
</div>
|
||||
)
|
||||
return <div className="pdf-viewer">{children}</div>
|
||||
}
|
||||
|
||||
describe('<PdfPreview/>', function () {
|
||||
|
||||
Reference in New Issue
Block a user