mirror of
https://github.com/discourse/discourse.git
synced 2025-03-11 15:25:34 +08:00
Fix closing a modal on mobile
This commit is contained in:
parent
f0eede077d
commit
c260ae622d
@ -137,14 +137,12 @@ margin-top: 10%;
|
|||||||
}
|
}
|
||||||
.close {
|
.close {
|
||||||
float: right;
|
float: right;
|
||||||
font-size: 20px;
|
font-size: 24px;
|
||||||
margin: 0 15px 0 0;
|
padding: 15px; // more pixels to touch
|
||||||
|
margin: -15px 0 0 0;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: $modal-close-button-color;
|
color: $modal-close-button-color;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
&:hover {
|
|
||||||
color: darken($modal-close-button-color,20);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -244,9 +242,6 @@ margin-top: 10%;
|
|||||||
color: #888;
|
color: #888;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
a:hover {
|
|
||||||
color: $black;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user