aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src/lib/components/OutputPane.svelte
blob: 3389324c659ee48569826d9f9074dc36a7f93e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<script lang="ts">
  import PlayerLog from "./log_viewer/PlayerLog.svelte";

  export let matchData: object;
  export let matchLog: string;
</script>

<div class="output-pane">
  <h3 class="output-header">Player log</h3>
  <PlayerLog {matchData} {matchLog} playerId={1} />
</div>

<style lang="scss">
  .output-pane {
    width: 100%;
    overflow-y: scroll;
    background-color: rgb(41, 41, 41);
    padding: 15px;
  }

  .output-header {
    color: #eee;
    padding-bottom: 20px;
  }
</style>