Fix a few tiny glitches in frontend dark mode as well as SDVX/Museca header duplication glitch.
This commit is contained in:
parent
383de2a070
commit
19566e4bbe
@ -34,7 +34,7 @@ config = Config()
|
||||
|
||||
|
||||
# Allow cache-busting of entire frontend for major changes such as react upgrades.
|
||||
FRONTEND_CACHE_BUST: str = "site.1.2.react.16.14"
|
||||
FRONTEND_CACHE_BUST: str = "site.1.3.react.16.14"
|
||||
|
||||
|
||||
@app.before_request
|
||||
|
@ -210,7 +210,7 @@ var network_records = createReactClass({
|
||||
if (paginate && curpage != this.state.subtab) { return null; }
|
||||
|
||||
return (
|
||||
<tr key={(-songid).toString()} className="header">
|
||||
<tr key={songid.toString()} className="header">
|
||||
<td className="subheader">{
|
||||
!paginate ? this.state.versions[-songid] : "Song / Artist / Difficulties"
|
||||
}</td>
|
||||
|
@ -218,7 +218,7 @@ var network_records = createReactClass({
|
||||
if (paginate && curpage != this.state.subtab) { return null; }
|
||||
|
||||
return (
|
||||
<tr key={((-songid) - 1).toString()} className="header">
|
||||
<tr key={songid.toString()} className="header">
|
||||
<td className="subheader">{
|
||||
!paginate ? this.state.versions[(-songid) - 1] : "Song / Artist / Difficulties"
|
||||
}</td>
|
||||
@ -431,7 +431,7 @@ var network_records = createReactClass({
|
||||
<div className="section">
|
||||
<table className="list records">
|
||||
<thead>
|
||||
<tr>
|
||||
<tr key={"songheader"}>
|
||||
<th className="subheader">Song / Artist / Difficulties</th>
|
||||
<th className="subheader">{ 'Green (\u7FE0)' }</th>
|
||||
<th className="subheader">{ 'Orange (\u6A59)' }</th>
|
||||
|
@ -213,7 +213,7 @@ var network_records = createReactClass({
|
||||
if (paginate && curpage != this.state.subtab) { return null; }
|
||||
|
||||
return (
|
||||
<tr key={((-songid) - 1).toString()} className="header">
|
||||
<tr key={songid.toString()} className="header">
|
||||
<td className="subheader">{
|
||||
!paginate ? this.state.versions[(-songid) - 1] : "Song / Artist / Difficulties"
|
||||
}</td>
|
||||
|
@ -231,7 +231,7 @@ var network_records = createReactClass({
|
||||
if (paginate && curpage != this.state.subtab) { return null; }
|
||||
|
||||
return (
|
||||
<tr key={((-songid) - 1).toString()} className="header">
|
||||
<tr key={songid.toString()} className="header">
|
||||
<td className="subheader">{
|
||||
!paginate ? this.state.versions[(-songid) - 1] : "Song / Artist / Difficulties"
|
||||
}</td>
|
||||
|
@ -211,7 +211,7 @@ var network_records = createReactClass({
|
||||
if (paginate && curpage != this.state.subtab) { return null; }
|
||||
|
||||
return (
|
||||
<tr key={((-songid) - 1).toString()} className="header">
|
||||
<tr key={songid.toString()} className="header">
|
||||
<td className="subheader">{
|
||||
!paginate ? this.state.versions[(-songid) - 1] : "Song / Artist / Difficulties"
|
||||
}</td>
|
||||
|
@ -63,7 +63,7 @@ table.list tbody tr:nth-child(even) td {
|
||||
}
|
||||
|
||||
table td.subheader {
|
||||
background-color: #1f1f1f ! important;
|
||||
background-color: #192021 ! important;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@ -116,10 +116,6 @@ table.list input[type="checkbox"], table.add input[type="checkbox"] {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
td.subheader {
|
||||
color: 121212;
|
||||
}
|
||||
|
||||
table.events div.circle {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
Loading…
Reference in New Issue
Block a user