Skip to content

Commit 82954ad

Browse files
Merge branch 'main' into fix/sanitize-svg
2 parents 9635c83 + 8c42d06 commit 82954ad

File tree

4 files changed

+43
-40
lines changed

4 files changed

+43
-40
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Create Jira Ticket on Issue Creation
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
create-jira-ticket:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v2
14+
15+
- name: Create Jira Ticket
16+
env:
17+
JIRA_BASE_URL: ${{ vars.JIRA_BASE_URL }}
18+
JIRA_EMAIL: ${{ vars.JIRA_EMAIL }}
19+
JIRA_API_TOKEN: ${{ vars.JIRA_API_TOKEN }}
20+
JIRA_PROJECT_KEY: ${{ vars.JIRA_PROJECT_KEY }}
21+
ISSUE_TITLE: ${{ github.event.issue.title }}
22+
ISSUE_BODY: ${{ github.event.issue.body }}
23+
ISSUE_URL: ${{ github.event.issue.html_url }}
24+
run: |
25+
curl -X POST -u "$JIRA_EMAIL:$JIRA_API_TOKEN" \
26+
-H "Content-Type: application/json" \
27+
-d '{
28+
"fields": {
29+
"project": {
30+
"key": "'"$JIRA_PROJECT_KEY"'"
31+
},
32+
"summary": "'"$ISSUE_TITLE"'",
33+
"description": "'"$ISSUE_BODY"'",
34+
"issuetype": {
35+
"name": "Task"
36+
}
37+
}
38+
}' \
39+
"$JIRA_BASE_URL/rest/api/2/issue/"

assets/images/icons/icon-circle-right.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

assets/scss/blocks/core/button.scss

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,6 @@
1919
opacity: 0.15;
2020
pointer-events: none;
2121
}
22-
23-
&::after {
24-
background-color: currentcolor;
25-
content: '';
26-
display: inline-block;
27-
height: 1rem;
28-
margin-left: 0.5rem;
29-
margin-right: unset;
30-
mask-image: url(../../../images/icons/icon-circle-right.svg);
31-
mask-size: contain;
32-
left: unset;
33-
position: absolute;
34-
right: 0.75rem;
35-
vertical-align: middle;
36-
width: 1rem;
37-
z-index: 0;
38-
}
3922
}
4023

4124
&.is-style-minimal,
@@ -68,36 +51,21 @@
6851
&.has-size-m {
6952
.wp-block-button__link {
7053
font-size: var(--wp--preset--font-size--s);
71-
padding: 0.625rem 2.5rem 0.625rem 1.25rem;
72-
73-
&::after {
74-
height: 1.25rem;
75-
width: 1.25rem;
76-
}
54+
padding: 0.625rem 1.25rem 0.625rem 1.25rem;
7755
}
7856
}
7957

8058
&.has-size-l {
8159
.wp-block-button__link {
8260
font-size: var(--wp--preset--font-size--m);
83-
padding: 0.9375rem 3rem 0.9375rem 1.25rem;
84-
85-
&::after {
86-
height: 1.5rem;
87-
width: 1.5rem;
88-
}
61+
padding: 0.9375rem 1.25rem 0.9375rem 1.25rem;
8962
}
9063
}
9164

9265
&.has-size-xl {
9366
.wp-block-button__link {
9467
font-size: var(--wp--preset--font-size--l);
95-
padding: 0.9375rem 3rem 0.9375rem 1.25rem;
96-
97-
&::after {
98-
height: 1.75rem;
99-
width: 1.75rem;
100-
}
68+
padding: 0.9375rem 1.25rem 0.9375rem 1.25rem;
10169
}
10270
}
10371
}

theme.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@
434434
"spacing": {
435435
"padding": {
436436
"top": "0.5rem",
437-
"right": "2.5rem",
437+
"right": "1rem",
438438
"bottom": "0.5rem",
439439
"left": "1rem"
440440
}

0 commit comments

Comments
 (0)