Skip to content

Commit

Permalink
styling of team settings
Browse files Browse the repository at this point in the history
  • Loading branch information
rbjornstad committed Oct 23, 2023
1 parent 157083f commit a1d7a6b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions src/routes/team/[team]/(teamTabs)/settings/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,16 @@
{:else}
<i>{teamSettings.description}</i>
{/if}
<h4>Slack channels</h4>
{#if teamSettings.slackChannel !== PendingValue && teamSettings.slackChannel !== ''}
<dl>
<dh>Default Channel:</dh>
<dt>Default slack-channel:</dt>
<dd>{teamSettings.slackChannel}</dd>
</dl>
{/if}
{#if teamSettings.slackAlertsChannels && teamSettings.slackAlertsChannels.length > 0 && teamSettings.slackAlertsChannels[0].env !== PendingValue}
<dl>
<dh>Overridden channels:</dh>
<dh>Per-environment slack-channels to be used for alerts sent by the platform.</dh>
{#each teamSettings.slackAlertsChannels as channel}
<dt>{channel.env}:</dt>
<dd>{channel.name}</dd>
Expand Down Expand Up @@ -186,16 +187,31 @@
{/if}

<style>
dl {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 0px;
margin-inline-end: 0px;
}
dt {
font-weight: bold;
}
dd {
margin-inline-start: 40px;
font-family: monospace;
font-size: 1rem;
}
.deployKey {
font-family: monospace;
padding-bottom: 1rem;
}
h3 {
margin-bottom: 0.5rem;
}
h4 {
margin: 0.8rem 0rem;
}
i {
margin-bottom: 0.5rem;
}
Expand Down

0 comments on commit a1d7a6b

Please sign in to comment.