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 { .media > .name > a {
text-align: justify; /*text-align:justify;*/
background: none; background: none;
color: #fff; color: #fff;
text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.85); text-shadow: 1px 2px 1px rgba(0, 0, 0, 0.85);
@ -466,13 +466,7 @@ h1 a {
.manga .name { .manga .name {
text-align: center; text-align: center;
width: 100%; 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 .media_type,

View File

@ -333,7 +333,7 @@ a:hover, a:active {
} }
.media > .name > a { .media > .name > a {
text-align:justify; /*text-align:justify;*/
background:none; background:none;
color:#fff; color:#fff;
text-shadow: var(--shadow); text-shadow: var(--shadow);
@ -347,13 +347,7 @@ a:hover, a:active {
.anime .name, .manga .name { .anime .name, .manga .name {
text-align:center; text-align:center;
width:100%; 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 .media_type,

View File

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