mirror of
https://github.com/twisterarmy/twister-calm.git
synced 2025-03-13 05:51:07 +00:00
update
close modal windows by press on background and other fixes
This commit is contained in:
parent
db084d989a
commit
7c1a504f70
5
calm.js
5
calm.js
@ -2,5 +2,8 @@ $(function(){
|
||||
$('.post-text').on('click', 'a', function(e){
|
||||
e.stopPropagation();
|
||||
});
|
||||
console.log(ret)
|
||||
$(".modal-blackout").on('click', function(){
|
||||
closeModal($(this));
|
||||
if($(".modal-content").attr("style") != undefined){$(".modal-content").removeAttr("style")}
|
||||
})
|
||||
})
|
@ -76,7 +76,7 @@
|
||||
right: 10px;
|
||||
padding: 10px;
|
||||
font-size: 12px;
|
||||
width: 110px;
|
||||
width: 120px;
|
||||
text-align: center;
|
||||
color: rgba( 0, 0, 0, .7 );
|
||||
background: rgba( 0, 0, 0, .1 );
|
||||
|
@ -1516,15 +1516,15 @@ input.userMenu-search-field:focus::-ms-input-placeholder {
|
||||
.directMessages .modal-wrapper
|
||||
{
|
||||
width: 540px;
|
||||
height: auto;
|
||||
height: 470px;
|
||||
margin: -200px 0 0 -280px;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.directMessages .modal-content
|
||||
{
|
||||
overflow-y: auto;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
.directMessages .modal-buttons
|
||||
{
|
||||
display: none;
|
||||
|
@ -134,6 +134,8 @@ function hideDmSnippetShowDmThread()
|
||||
|
||||
var dm_screenname = $this.attr("data-dm-screen-name");
|
||||
openDmWithUserModal(dm_screenname);
|
||||
|
||||
$(".modal-content").css("height", "300px"); //fix
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user