mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
🐛 Fixed bookmark card metadata styles (#17577)
refs TryGhost/Product#3609 - author and publisher styles were mixed up in mobiledoc - made consistent for author coming after publisher for md and lexical - updated renderer packages
This commit is contained in:
parent
e2a6d8b987
commit
c539417e89
@ -1272,7 +1272,7 @@
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.kg-bookmark-publisher {
|
||||
.kg-bookmark-author {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
max-width: 240px;
|
||||
|
@ -246,7 +246,7 @@
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
||||
.gh-wn-entry .kg-bookmark-publisher {
|
||||
.gh-wn-entry .kg-bookmark-author {
|
||||
overflow: hidden;
|
||||
line-height: 1.5em;
|
||||
text-overflow: ellipsis;
|
||||
|
@ -385,7 +385,7 @@
|
||||
}
|
||||
|
||||
.kg-bookmark-card,
|
||||
.kg-bookmark-publisher {
|
||||
.kg-bookmark-author {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@ -475,7 +475,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.kg-bookmark-publisher::before {
|
||||
.kg-bookmark-author::before {
|
||||
content: "•";
|
||||
margin: 0 .5em;
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
}
|
||||
|
||||
.kg-bookmark-card,
|
||||
.kg-bookmark-publisher {
|
||||
.kg-bookmark-author {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
@ -74,7 +74,7 @@
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.kg-bookmark-publisher {
|
||||
.kg-bookmark-author {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
max-width: 240px;
|
||||
|
@ -102,9 +102,9 @@
|
||||
"@tryghost/job-manager": "0.0.0",
|
||||
"@tryghost/kg-card-factory": "4.0.8",
|
||||
"@tryghost/kg-default-atoms": "4.0.1",
|
||||
"@tryghost/kg-default-cards": "9.1.0",
|
||||
"@tryghost/kg-default-nodes": "0.1.11",
|
||||
"@tryghost/kg-lexical-html-renderer": "0.3.7",
|
||||
"@tryghost/kg-default-cards": "9.1.1",
|
||||
"@tryghost/kg-default-nodes": "0.1.12",
|
||||
"@tryghost/kg-lexical-html-renderer": "0.3.8",
|
||||
"@tryghost/kg-mobiledoc-html-renderer": "6.0.8",
|
||||
"@tryghost/limit-service": "1.2.6",
|
||||
"@tryghost/link-redirects": "0.0.0",
|
||||
|
@ -711,11 +711,11 @@ a[data-flickr-embed] img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.kg-bookmark-author {
|
||||
.kg-bookmark-publisher {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.kg-bookmark-publisher {
|
||||
.kg-bookmark-author {
|
||||
overflow: hidden;
|
||||
max-width: 240px;
|
||||
line-height: 1.5em;
|
||||
@ -723,7 +723,7 @@ a[data-flickr-embed] img {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.kg-bookmark-publisher:before {
|
||||
.kg-bookmark-author:before {
|
||||
content: "•";
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
@ -761,11 +761,11 @@ a[data-flickr-embed] img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.kg-bookmark-author {
|
||||
.kg-bookmark-publisher {
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.kg-bookmark-publisher {
|
||||
.kg-bookmark-author {
|
||||
overflow: hidden;
|
||||
max-width: 240px;
|
||||
line-height: 1.5em;
|
||||
@ -773,7 +773,7 @@ a[data-flickr-embed] img {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.kg-bookmark-publisher:before {
|
||||
.kg-bookmark-author:before {
|
||||
content: "•";
|
||||
margin: 0 6px;
|
||||
}
|
||||
|
@ -29,7 +29,7 @@
|
||||
"@tryghost/email-events": "0.0.0",
|
||||
"@tryghost/errors": "1.2.24",
|
||||
"@tryghost/html-to-plaintext": "0.0.0",
|
||||
"@tryghost/kg-default-cards": "9.1.0",
|
||||
"@tryghost/kg-default-cards": "9.1.1",
|
||||
"@tryghost/logging": "2.4.4",
|
||||
"@tryghost/tpl": "0.1.24",
|
||||
"@tryghost/validator": "0.2.4",
|
||||
|
@ -22,7 +22,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@tryghost/debug": "0.1.24",
|
||||
"@tryghost/kg-default-cards": "9.1.0",
|
||||
"@tryghost/kg-default-cards": "9.1.1",
|
||||
"@tryghost/string": "0.2.4",
|
||||
"lodash": "4.17.21",
|
||||
"papaparse": "5.3.2",
|
||||
|
@ -77,7 +77,7 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.kg-bookmark-publisher::before {
|
||||
.kg-bookmark-author::before {
|
||||
content: "•";
|
||||
margin: 0 .5em;
|
||||
}
|
||||
|
26
yarn.lock
26
yarn.lock
@ -6318,10 +6318,10 @@
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-atoms/-/kg-default-atoms-4.0.1.tgz#31ed16c032d8e76d8933fdb020caceb47a99970c"
|
||||
integrity sha512-zrUnpkVoVUS/M97YGWzQqPimDeWLAJNK6zvgW6YQP1KSWyNkVibJporV0QX+LfpMJoVU9pbGyPa8BZBuHWFgOw==
|
||||
|
||||
"@tryghost/kg-default-cards@9.1.0":
|
||||
version "9.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-9.1.0.tgz#6f0704fecc09e9d73d3e6a2ae47173d70586e262"
|
||||
integrity sha512-nV1wwRp2um5yaBIDaSAQcgH7a/6rXAVI7sEV2BeGQ1jaGCoMHAFRgNzeietBlTSq2c8a08O9zUoZml0yOmg4uw==
|
||||
"@tryghost/kg-default-cards@9.1.1":
|
||||
version "9.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-cards/-/kg-default-cards-9.1.1.tgz#edf12a75d1a5ed3f314158da34f19609e1b1bb85"
|
||||
integrity sha512-K26AECrk2z8Mvt6k6sgVpCTBJ5vSVI+jJZIkkAxmk/XJPrhuo50s6jqBJZWBXlZ/XhoiN1azsbObVAOvPYAkRg==
|
||||
dependencies:
|
||||
"@tryghost/kg-markdown-html-renderer" "^6.0.8"
|
||||
"@tryghost/string" "^0.2.0"
|
||||
@ -6331,10 +6331,10 @@
|
||||
lodash "^4.17.21"
|
||||
luxon "^3.0.0"
|
||||
|
||||
"@tryghost/kg-default-nodes@0.1.11", "@tryghost/kg-default-nodes@^0.1.11":
|
||||
version "0.1.11"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.1.11.tgz#7decf3c7b8cd815c8cb59f41e4485b514c9b0f5d"
|
||||
integrity sha512-EoesMVsPWMugJcsUZS2cNXxNB88qBWVbk/PpUp9ALPOIiqbWypGPEuJvFZGQI5YaAGJl3mtNaNaIkRndnnGtSA==
|
||||
"@tryghost/kg-default-nodes@0.1.12", "@tryghost/kg-default-nodes@^0.1.12":
|
||||
version "0.1.12"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-default-nodes/-/kg-default-nodes-0.1.12.tgz#41d1ef24b8bde4f5db755248f1bf76b8d3bca436"
|
||||
integrity sha512-qmdqmp7G/qdrpqvWUx9quOD+8hXll3GWLeA+l3xOIUSYL5d4KKpHvUA3pv0QJcXovFpypC9nwsXPxPjYlCO4pA==
|
||||
dependencies:
|
||||
"@tryghost/kg-clean-basic-html" "^3.0.21"
|
||||
"@tryghost/kg-markdown-html-renderer" "^6.0.8"
|
||||
@ -6344,10 +6344,10 @@
|
||||
lodash "^4.17.21"
|
||||
luxon "^3.3.0"
|
||||
|
||||
"@tryghost/kg-lexical-html-renderer@0.3.7":
|
||||
version "0.3.7"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.3.7.tgz#1361ce0368a10d90cd3ad8dec3f826ef83d1ba5a"
|
||||
integrity sha512-zAiXO7VASFVBCuL37Cp7rOSwcb1UlmfoXDIMl/rQQFxBnlbhMrQN9A9T3vWj2Dq7HQhynPuc2dAvT/ogEntRUA==
|
||||
"@tryghost/kg-lexical-html-renderer@0.3.8":
|
||||
version "0.3.8"
|
||||
resolved "https://registry.yarnpkg.com/@tryghost/kg-lexical-html-renderer/-/kg-lexical-html-renderer-0.3.8.tgz#66c55b1f29e62ef18242eeed2c460847ecaeede6"
|
||||
integrity sha512-f7cgQcLyWRoK54AwP7/bOqzSvuPf0+WplR91TK0GnjUBuIS3qCJ9oMm1uZz36oiRZwda76j7XB/KfPjofpKpbg==
|
||||
dependencies:
|
||||
"@lexical/clipboard" "^0.11.0"
|
||||
"@lexical/code" "^0.11.0"
|
||||
@ -6355,7 +6355,7 @@
|
||||
"@lexical/link" "^0.11.0"
|
||||
"@lexical/list" "^0.11.0"
|
||||
"@lexical/rich-text" "^0.11.0"
|
||||
"@tryghost/kg-default-nodes" "^0.1.11"
|
||||
"@tryghost/kg-default-nodes" "^0.1.12"
|
||||
jsdom "^22.1.0"
|
||||
lexical "^0.11.0"
|
||||
prettier "^2.7.1"
|
||||
|
Loading…
Reference in New Issue
Block a user