Version 5.1 - All the GraphQL #32

Closed
timw4mail wants to merge 1160 commits from develop into master
3 changed files with 9 additions and 22 deletions
Showing only changes of commit 38abb27eb3 - Show all commits

View File

@ -452,7 +452,7 @@ h1 a {
}
.media > .name > a {
text-align: justify;
/*text-align:justify;*/
background: none;
color: #fff;
text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.85);
@ -466,13 +466,7 @@ h1 a {
.manga .name {
text-align: center;
width: 100%;
padding: 0.5em 0;
}
.anime .name > a {
text-align: center;
width: 100%;
padding: 0.5em 1em;
padding: 0.5em 0.25em;
}
.anime .media_type,

View File

@ -333,7 +333,7 @@ a:hover, a:active {
}
.media > .name > a {
text-align:justify;
/*text-align:justify;*/
background:none;
color:#fff;
text-shadow: var(--shadow);
@ -347,15 +347,9 @@ a:hover, a:active {
.anime .name, .manga .name {
text-align:center;
width:100%;
padding:0.5em 0;
padding:0.5em 0.25em;
}
.anime .name > a {
text-align:center;
width:100%;
padding:0.5em 1em;
}
.anime .media_type,
.anime .airing_status,
.anime .user_rating,

View File

@ -68,13 +68,12 @@ var AnimeClient = (function(w) {
<span class="close"></span>
</div>`;
let sel = AnimeClient.$('.message')[0];
if (sel !== undefined) {
sel.innerHTML = template;
sel.removeAttribute('hidden');
} else {
_.$('header')[0].insertAdjacentHTML('beforeend', template);
let sel = AnimeClient.$('.message');
if (sel[0] !== undefined) {
sel[0].remove();
}
_.$('header')[0].insertAdjacentHTML('beforeend', template);
},
/**
* Finds the closest parent element matching the passed selector