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} /></>} {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>

View File

@ -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;