Move inline CSS to the stylesheet

This commit is contained in:
Vencislav Atanasov 2024-09-21 23:23:31 +03:00
parent d1788e9e97
commit 923daf9005
2 changed files with 7 additions and 9 deletions

View File

@ -36,9 +36,7 @@ export default function Schedule({
{isLoading && <>Loading... <progress value={loadingProgress} /></>}
<div className="schedule">
{header && <>
<table style={{
textAlign: 'center',
}}>
<table>
<thead>
<tr>
{header.map(hall => <th key={hall.id}>{hall.name}</th>)}
@ -60,9 +58,7 @@ export default function Schedule({
<div className="separator"/>
</>}
{tracks && <>
<table style={{
textAlign: 'center',
}}>
<table>
<tbody>
{Object.entries(tracks).filter(([, track]) =>
!isTrackHidden(track)
@ -93,9 +89,7 @@ export default function Schedule({
{event.abstract && <p>
{event.abstract}
</p>}
<p style={{
textAlign: 'right',
}}>
<p className="feedback">
<strong>
<a href={event.feedback_url}>Submit feedback</a>
</strong>

View File

@ -86,6 +86,10 @@
margin: 0 1em 2em 0;
}
section p.feedback {
text-align: right;
}
.separator {
margin: 2.4em 0;
height: 1px;