7 Commits

Author SHA1 Message Date
Sodbileg Gansukh
62cb3da424 v1.2.2 2024-04-12 11:24:14 +08:00
Sodbileg Gansukh
f749b4bed0 Fixed wrapper issue for multiple table elements
fixes DES-203, closes https://github.com/TryGhost/Source/issues/41
2024-04-12 11:22:51 +08:00
Sodbileg Gansukh
daf120397f Added error message field to the subscription form
fixes ENG-17
2024-04-10 12:26:58 +08:00
Sodbileg Gansukh
539464ac9b Fixed form error styling issue on subscribe input
fixes ENG-17
2024-04-10 12:01:51 +08:00
Sodbileg Gansukh
2cfe4e2016 v1.2.1 2024-03-13 17:11:42 +08:00
Sodbileg Gansukh
3b99c9e881 Fixed white background issue on accent color navigation
fixes DES-173
2024-03-13 17:09:19 +08:00
Sanne de Vries
0beef28a44 Updated default button card styles to support multiline buttons (#43)
* Updated default button card styles to support multiline buttons

Ref DES-160

* Center-aligned button text
2024-03-13 08:37:06 +01:00
8 changed files with 27 additions and 9 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -238,7 +238,6 @@ a:hover {
display: flex;
align-items: center;
position: relative;
overflow: hidden;
max-width: 560px;
width: 100%;
height: 56px;
@@ -365,6 +364,15 @@ button.gh-form-input {
display: block;
}
.gh-form [data-members-error] {
position: absolute;
top: 100%;
margin-top: 10px;
width: 100%;
font-size: 1.4rem;
line-height: 1.4;
}
@media (max-width: 576px) {
.gh-form {
font-size: 1.6rem;
@@ -518,6 +526,10 @@ button.gh-form-input {
background-color: var(--background-color);
}
.gh-navigation.has-accent-color .gh-navigation-actions {
background-color: var(--ghost-accent-color);
}
.gh-navigation-members {
display: flex;
gap: 20px;
@@ -1385,6 +1397,7 @@ Search LOGO Login Subscribe
flex-direction: column;
align-items: center;
gap: 48px;
overflow: unset;
margin: auto;
max-width: 1020px;
text-align: center;
@@ -2374,7 +2387,11 @@ blockquote.kg-blockquote-alt {
/* Button */
.kg-card.kg-button-card .kg-btn {
height: unset;
padding: .6em 1.2em;
text-align: center;
font-size: 1em;
line-height: 1.2em;
}
/* Header */

View File

@@ -50,10 +50,10 @@
/* Responsive HTML table */
(function () {
const tables = document.querySelectorAll('.gh-content > table:not(.gist table)');
const wrapper = document.createElement('div');
wrapper.className = 'gh-table';
tables.forEach(function (table) {
const wrapper = document.createElement('div');
wrapper.className = 'gh-table';
table.parentNode.insertBefore(wrapper, table);
wrapper.appendChild(table);
});

View File

@@ -2,7 +2,7 @@
"name": "source",
"description": "A default theme for the Ghost publishing platform",
"demo": "https://source.ghost.io",
"version": "1.2.0",
"version": "1.2.2",
"engines": {
"ghost": ">=5.0.0"
},

View File

@@ -5,4 +5,5 @@
{{> "icons/loader"}}
{{> "icons/checkmark"}}
</button>
<p data-members-error></p>
</form>