hohMiyazawa / Automail

An enhancement collection for anilist.co
GNU General Public License v3.0
158 stars 31 forks source link

REQUEST: Allow comments in user CSS #23

Closed Kreyren closed 4 years ago

Kreyren commented 4 years ago

Using this css https://github.com/Kreyren/anilist_css/blob/master/core.css with automail does not work, because automail does not work with comments.

Expected behavior

Expecting automail to work with comments.

Minimal example:

With comment:

/* Font color */
.time[data-v-6994d971],
.stat .label[data-v-815ccddc],
.nav .link[data-v-66e5278e],
.el-dropdown-menu,
el-dropdown-menu__item, body, h1, h2, h3, p {
    color: rgb(255, 219, 0);
}

Without comment:

.time[data-v-6994d971],
.stat .label[data-v-815ccddc],
.nav .link[data-v-66e5278e],
.el-dropdown-menu,
el-dropdown-menu__item, body, h1, h2, h3, p {
    color: rgb(255, 219, 0);
}
hohMiyazawa commented 4 years ago

Can I get a minimal example? That is, two short snipets of CSS, one with and one without comments, where the one with comments doesn't work?

Be aware that custom css on profiles has a couple of minutes of caching.

Kreyren commented 4 years ago

Updated OP with minimal example.

Weird seems to no longer be an issue? Closing, if the issue appears again i will re-open.