Skip to content

Commit fde3787

Browse files
Merge pull request steam-bell-92#673 from Pratikshya32/fix/modal-close-button
fix: correct modal close button CSS class selector syntax
2 parents 518cb08 + 98d62b0 commit fde3787

1 file changed

Lines changed: 14 additions & 17 deletions

File tree

web-app/css/styles.css

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2883,23 +2883,20 @@ body.sidebar-active .hero-controls {
28832883
}
28842884
}
28852885

2886-
.modal-close {
2887-
position: absolute;
2888-
top: 16px;
2889-
right: 16px;
2890-
width: 36px;
2891-
height: 36px;
2892-
border-radius: 10px;
2893-
background: var(--bg-glass);
2894-
border: 1px solid var(--border);
2895-
color: var(--text-secondary);
2896-
font-size: 1.2rem;
2897-
cursor: pointer;
2898-
display: flex;
2899-
align-items: center;
2900-
justify-content: center;
2901-
transition: all var(--duration-fast) ease;
2902-
z-index: 10;
2886+
..modal-close {
2887+
position: absolute;
2888+
top: 1rem;
2889+
right: 1rem;
2890+
z-index: 10001;
2891+
background: var(--danger-color);
2892+
color: var(--on-accent);
2893+
border: none;
2894+
width: 40px;
2895+
height: 40px;
2896+
border-radius: 50%;
2897+
font-size: 1.5rem;
2898+
cursor: pointer;
2899+
transition: var(--transition);
29032900
}
29042901

29052902
.modal-close:hover {

0 commit comments

Comments
 (0)