website-xp-phone 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/styles/main.css +1 -1
- package/src/windowing/Section.tsx +2 -4
package/package.json
CHANGED
package/src/styles/main.css
CHANGED
|
@@ -472,7 +472,7 @@ export const Section = (props: SectionProps) => {
|
|
|
472
472
|
}, [shouldOpenFromLink]);
|
|
473
473
|
|
|
474
474
|
const windowContent = (
|
|
475
|
-
<div className={`window ${className || ""}`}>
|
|
475
|
+
<div ref={inlineWindowRef} className={`window ${className || ""}`}>
|
|
476
476
|
{hasHeading ? (
|
|
477
477
|
<div className="title-bar">
|
|
478
478
|
<div className="title-bar-text">{heading}</div>
|
|
@@ -503,9 +503,7 @@ export const Section = (props: SectionProps) => {
|
|
|
503
503
|
|
|
504
504
|
return (
|
|
505
505
|
<>
|
|
506
|
-
{!isMinimized && !isMaximized &&
|
|
507
|
-
<div ref={inlineWindowRef}>{windowContent}</div>
|
|
508
|
-
)}
|
|
506
|
+
{!isMinimized && !isMaximized && windowContent}
|
|
509
507
|
{!isMinimized &&
|
|
510
508
|
isMaximized &&
|
|
511
509
|
typeof document !== "undefined" &&
|