Move inline CSS to the stylesheet
This commit is contained in:
parent
d1788e9e97
commit
923daf9005
|
@ -36,9 +36,7 @@ export default function Schedule({
|
||||||
{isLoading && <>Loading... <progress value={loadingProgress} /></>}
|
{isLoading && <>Loading... <progress value={loadingProgress} /></>}
|
||||||
<div className="schedule">
|
<div className="schedule">
|
||||||
{header && <>
|
{header && <>
|
||||||
<table style={{
|
<table>
|
||||||
textAlign: 'center',
|
|
||||||
}}>
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
{header.map(hall => <th key={hall.id}>{hall.name}</th>)}
|
{header.map(hall => <th key={hall.id}>{hall.name}</th>)}
|
||||||
|
@ -60,9 +58,7 @@ export default function Schedule({
|
||||||
<div className="separator"/>
|
<div className="separator"/>
|
||||||
</>}
|
</>}
|
||||||
{tracks && <>
|
{tracks && <>
|
||||||
<table style={{
|
<table>
|
||||||
textAlign: 'center',
|
|
||||||
}}>
|
|
||||||
<tbody>
|
<tbody>
|
||||||
{Object.entries(tracks).filter(([, track]) =>
|
{Object.entries(tracks).filter(([, track]) =>
|
||||||
!isTrackHidden(track)
|
!isTrackHidden(track)
|
||||||
|
@ -93,9 +89,7 @@ export default function Schedule({
|
||||||
{event.abstract && <p>
|
{event.abstract && <p>
|
||||||
{event.abstract}
|
{event.abstract}
|
||||||
</p>}
|
</p>}
|
||||||
<p style={{
|
<p className="feedback">
|
||||||
textAlign: 'right',
|
|
||||||
}}>
|
|
||||||
<strong>
|
<strong>
|
||||||
<a href={event.feedback_url}>Submit feedback</a>
|
<a href={event.feedback_url}>Submit feedback</a>
|
||||||
</strong>
|
</strong>
|
||||||
|
|
|
@ -86,6 +86,10 @@
|
||||||
margin: 0 1em 2em 0;
|
margin: 0 1em 2em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
section p.feedback {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
.separator {
|
.separator {
|
||||||
margin: 2.4em 0;
|
margin: 2.4em 0;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
|
|
Loading…
Reference in New Issue