One of my Angular component render a Dialog but I want to change it's z-index. And for that I wanted to change the z-index for the class 'ui-dialog'. So I have a component specific style sheet file, and in there I write a below rule that doesn't seems to be working. Please suggest
.ui-dialog {
z-index: 9999 !important;
}
Unable to change Dialog Style
-
- Posts: 35
- Joined: 22 Apr 2016, 23:22
Any help on this would be appreciated. If more detail required, please let me know.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Z-index is a dynamic property that is increased everytime an overlay is shown to display one top of other one so can't be a constant. Initial is 1000.
-
- Posts: 35
- Joined: 22 Apr 2016, 23:22
I see, so how could I fix my problem? I have a grid on my main page and there is a button to add new record. When click the dialog appear but it's header is not visible, and that can be fix by setting the z-index. Please check the below image
http://imgur.com/cTqivC9
http://imgur.com/cTqivC9
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
What is the z-index of your topbar in your app, the black bar? I think it is more than 1000 right? Try making it 999.
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Good to hear, thank you.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 18 guests