Skip to content

Commit 78a88dc

Browse files
authored
ARC-2046 - Update the design to use Atlaskit/AUI (#28)
1 parent 6f85a0c commit 78a88dc

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

src/content/webhooks.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,3 @@ Webhooks can be manually created in
2020

2121
For more information about webhooks, and for a full list of available webhooks, please refer to our
2222
[documentation](https://developer.atlassian.com/cloud/jira/platform/webhooks/#registering-a-webhook-using-the-jira-rest-api--other-integrations-).
23-
24-
## Example logs:

src/views/webhook-logs.squirrelly

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,16 @@
77
{{@includeFile('./partial/back-nav.squirrelly') /}}
88
<div id="webhooks" data-page-content="{{ it.pageContent.toString() }}"></div>
99

10-
<div class="flexed">
10+
<div class="logs-title">
11+
<h2>Example logs:</h2>
1112
<div>
1213
<a class="aui-button" onclick="AP.navigator.reload();">
1314
<span class="aui-icon aui-icon-small aui-iconfont-refresh">Refresh</span>
1415
<span>Refresh</span>
1516
</a>
1617
</div>
1718
</div>
18-
<br>
19+
1920
<div class="logs-container">
2021
{{@if(it.logs)}}
2122
{{@each(it.logs) => log}}

static/css/main.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,28 @@ body {
1818
cursor: pointer;
1919
}
2020

21-
.flexed {
21+
.logs-title {
2222
display: flex;
2323
justify-content: space-between;
2424
align-items: center;
25+
margin: 2.5em 0 1em;
2526
}
2627

27-
.config-container {
28+
pre {
2829
background: #f4f5f7;
2930
padding: 0.75em;
3031
border-radius: 4px;
3132
}
3233

3334
.logs-container {
35+
width: calc(100vw - 340px);
3436
overflow: auto;
3537
background: #000;
3638
color: #fff;
3739
border-radius: 4px;
3840
padding: 0.3em 0.75em;
3941
}
42+
.logs-container > pre {
43+
background: #000;
44+
}
4045

0 commit comments

Comments
 (0)