Product: PowerShell Universal
Version: 4.3.3
Hello everyone,
I hope someone knows whats happening under the hood.
I have a simple Page with some UDCards and tried out my first Styles on the mui-Elements. I copied a template from the Documentation which I later deleted and wrote my own style.
What I copied:
New-UDStyle -Style '
padding: 32px;
background-color: hotpink;
font-size: 24px;
border-radius: 4px;
&:hover {
color: white;
}
.MuiCardHeader-root {
background-color: green !important;
}
.MuiCardContent-root {
background-color: green !important;
}' -Content {
New-UDCard -Title 'Test' -Content {
"Hello"
}
}
New Style:
$Style_CardAD = '
.MuiCardHeader-root {
background: #40A9FF;
}
.MuiCardContent-root {
color: black;
width: 100%;
height: 170px;
overflow: auto;
}
'
Now the thing is, the &:hover part ist still active on the Cards allthough I deleted this part out of my script. Anyone has an idea why this is happening? I also restarted the Service with no result.