Skip to content

Commit

Permalink
chore(release): 2.21.3
Browse files Browse the repository at this point in the history
## [2.21.3](v2.21.2...v2.21.3) (2023-05-04)

### Bug Fixes

* upgrade node-fetch from 2.6.7 to 2.6.9 ([c5774c3](c5774c3))
  • Loading branch information
zd-svc-github-copenhagen-theme committed May 4, 2023
1 parent 302014b commit 7131332
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## [2.21.3](https://github.com/zendesk/copenhagen_theme/compare/v2.21.2...v2.21.3) (2023-05-04)


### Bug Fixes

* upgrade node-fetch from 2.6.7 to 2.6.9 ([c5774c3](https://github.com/zendesk/copenhagen_theme/commit/c5774c3800691b958063fc7cfe37f2c6a2f58af9))

## [2.21.2](https://github.com/zendesk/copenhagen_theme/compare/v2.21.1...v2.21.2) (2023-03-15)


Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Copenhagen",
"author": "Zendesk",
"version": "2.21.2",
"version": "2.21.3",
"api_version": 2,
"default_locale": "en-us",
"settings": [
Expand Down
7 changes: 0 additions & 7 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -485,24 +485,17 @@
requestMarkAsSolvedButton.innerText =
requestMarkAsSolvedButton.getAttribute("data-solve-translation");
}
requestCommentSubmitButton.disabled = true;
} else {
if (requestMarkAsSolvedButton) {
requestMarkAsSolvedButton.innerText =
requestMarkAsSolvedButton.getAttribute(
"data-solve-and-submit-translation"
);
}
requestCommentSubmitButton.disabled = false;
}
});
}

// Disable submit button if textarea is empty
if (requestCommentTextarea && isEmpty(requestCommentTextarea.value)) {
requestCommentSubmitButton.disabled = true;
}

const selects = document.querySelectorAll(
"#request-status-select, #request-organization-select"
);
Expand Down
138 changes: 138 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1673,6 +1673,52 @@ ul {
height: auto;
max-width: 100%;
}
.article-body p > img.image-style-align-left {
float: left;
margin: 8px 20px 6px 0;
}
.article-body p > img.image-style-align-right {
float: right;
margin: 8px 0px 6px 20px;
}
.article-body p > img.image-style-block-align-right {
margin-left: auto;
margin-right: 0;
}
.article-body p > img.image-style-block-align-left {
margin-left: 0;
margin-right: auto;
}
.article-body figure.image {
display: table;
margin: 0 auto;
}
.article-body figure.image > img {
display: block;
width: 100%;
}
.article-body figure.image.image-style-align-left {
float: left;
margin: 8px 20px 6px 0;
}
.article-body figure.image.image-style-align-right {
float: right;
margin: 8px 0px 6px 20px;
}
.article-body figure.image.image-style-block-align-right {
margin-left: auto;
margin-right: 0;
}
.article-body figure.image.image-style-block-align-left {
margin-left: 0;
margin-right: auto;
}
.article-body figcaption {
padding: 10px 0;
font-size: 12px;
text-align: center;
background-color: darken($background_color, 5%);
}
.article-body ul,
.article-body ol {
padding-left: 20px;
Expand Down Expand Up @@ -2087,6 +2133,52 @@ ul {
height: auto;
max-width: 100%;
}
.comment-body p > img.image-style-align-left {
float: left;
margin: 8px 20px 6px 0;
}
.comment-body p > img.image-style-align-right {
float: right;
margin: 8px 0px 6px 20px;
}
.comment-body p > img.image-style-block-align-right {
margin-left: auto;
margin-right: 0;
}
.comment-body p > img.image-style-block-align-left {
margin-left: 0;
margin-right: auto;
}
.comment-body figure.image {
display: table;
margin: 0 auto;
}
.comment-body figure.image > img {
display: block;
width: 100%;
}
.comment-body figure.image.image-style-align-left {
float: left;
margin: 8px 20px 6px 0;
}
.comment-body figure.image.image-style-align-right {
float: right;
margin: 8px 0px 6px 20px;
}
.comment-body figure.image.image-style-block-align-right {
margin-left: auto;
margin-right: 0;
}
.comment-body figure.image.image-style-block-align-left {
margin-left: 0;
margin-right: auto;
}
.comment-body figcaption {
padding: 10px 0;
font-size: 12px;
text-align: center;
background-color: darken($background_color, 5%);
}
.comment-body ul,
.comment-body ol {
padding-left: 20px;
Expand Down Expand Up @@ -2605,6 +2697,52 @@ ul {
height: auto;
max-width: 100%;
}
.post-body p > img.image-style-align-left {
float: left;
margin: 8px 20px 6px 0;
}
.post-body p > img.image-style-align-right {
float: right;
margin: 8px 0px 6px 20px;
}
.post-body p > img.image-style-block-align-right {
margin-left: auto;
margin-right: 0;
}
.post-body p > img.image-style-block-align-left {
margin-left: 0;
margin-right: auto;
}
.post-body figure.image {
display: table;
margin: 0 auto;
}
.post-body figure.image > img {
display: block;
width: 100%;
}
.post-body figure.image.image-style-align-left {
float: left;
margin: 8px 20px 6px 0;
}
.post-body figure.image.image-style-align-right {
float: right;
margin: 8px 0px 6px 20px;
}
.post-body figure.image.image-style-block-align-right {
margin-left: auto;
margin-right: 0;
}
.post-body figure.image.image-style-block-align-left {
margin-left: 0;
margin-right: auto;
}
.post-body figcaption {
padding: 10px 0;
font-size: 12px;
text-align: center;
background-color: darken($background_color, 5%);
}
.post-body ul,
.post-body ol {
padding-left: 20px;
Expand Down

0 comments on commit 7131332

Please sign in to comment.