[Work in progress] A Reactjs-based web app to help with ricing: designing beautiful unix desktop environments.
git clone https://mcol.xyz/code/unix.sexy
Log | Files | Refs

commit 37b16cccb82bf1818697496fbf17b838e61d5079
parent 39d29c863315f9cee41d9cbc64efe82615d850d6
Author: mcol <mcol@posteo.net>
Date:   Thu, 25 Jun 2020 21:14:36 +0100

move window content CSS to window div

Diffstat:
Msrc/features/windows/index.js | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/features/windows/index.js b/src/features/windows/index.js @@ -16,7 +16,7 @@ export default function Windows() { const shadowStyle = useSelector(selectShadowStyleCSS); const borderStyle = useSelector(selectBorderStyle); - let style = {...shadowStyle, ...borderStyle} + let style = {...shadowStyle, ...borderStyle, ...windowContentStyle} return ( positions.map((position, key) => { @@ -46,7 +46,7 @@ export default function Windows() { > {windowContent.text && - <div className="window-content" style={windowContentStyle}> + <div className="window-content"> sample text here </div> }