Skip to content

Commit

Permalink
feat: #1055 (cont) - validation checks + css;
Browse files Browse the repository at this point in the history
  • Loading branch information
migbash committed Feb 28, 2023
1 parent 232d3fb commit d4d3ce7
Showing 1 changed file with 25 additions and 16 deletions.
41 changes: 25 additions & 16 deletions src/lib/components/page/home/livescores-v2/Livescores_Main.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -376,14 +376,16 @@ NOTE: [HINT] use (CTRL+SPACE) to select a (class) (id) style
<!--
[ℹ] fixtures (of league) (box)
-->
{#each fixturesGroupByDateMap.get($sessionStore.livescoreNowSelectedDate.toISOString().slice(0, 10)) as fixture}
{#if fixture?.league_id == league?.id}
<LivescoresFixtureRow
FIXTURE_D={fixture}
{server_side_language}
/>
{/if}
{/each}
{#if fixturesGroupByDateMap.has($sessionStore.livescoreNowSelectedDate.toISOString().slice(0, 10))}
{#each fixturesGroupByDateMap.get($sessionStore.livescoreNowSelectedDate.toISOString().slice(0, 10)) as fixture}
{#if fixture?.league_id == league?.id}
<LivescoresFixtureRow
FIXTURE_D={fixture}
{server_side_language}
/>
{/if}
{/each}
{/if}
{/each}
</div>

Expand Down Expand Up @@ -425,14 +427,16 @@ NOTE: [HINT] use (CTRL+SPACE) to select a (class) (id) style
[ℹ] fixtures (of league) (box)
FIXME: using "today" does not work, as fixtures at 23:45 (start) won't show in 15 (next day)
-->
{#each fixturesGroupByDateMap.get(today.toISOString().slice(0, 10)) as fixture}
{#if fixture?.league_id == league?.id && fixture?.status === 'LIVE'}
<LivescoresFixtureRow
FIXTURE_D={fixture}
{server_side_language}
/>
{/if}
{/each}
{#if fixturesGroupByDateMap.has(today.toISOString().slice(0, 10))}
{#each fixturesGroupByDateMap.get(today.toISOString().slice(0, 10)) as fixture}
{#if fixture?.league_id == league?.id && fixture?.status === 'LIVE'}
<LivescoresFixtureRow
FIXTURE_D={fixture}
{server_side_language}
/>
{/if}
{/each}
{/if}
{/each}
</div>

Expand Down Expand Up @@ -466,6 +470,11 @@ NOTE: [HINT] auto-fill/auto-complete iniside <style> for var() values by typing/

<style>
/* override */
div.widget-component {
overflow: unset;
}
div.league-group {
padding: 18px 28px 10px 28px;
border-top: 1px solid var(--grey-color);
Expand Down

0 comments on commit d4d3ce7

Please sign in to comment.