@rmdes/indiekit-endpoint-activitypub 2.0.9 → 2.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets/reader.css CHANGED
@@ -993,6 +993,40 @@
993
993
  color: var(--color-primary);
994
994
  }
995
995
 
996
+ /* Override upstream .mention { display: grid } for bio content */
997
+ .ap-profile__bio .h-card {
998
+ display: inline;
999
+ }
1000
+
1001
+ .ap-profile__bio .h-card a,
1002
+ .ap-profile__bio a.u-url.mention {
1003
+ display: inline;
1004
+ white-space: nowrap;
1005
+ }
1006
+
1007
+ .ap-profile__bio .h-card a span,
1008
+ .ap-profile__bio a.u-url.mention span {
1009
+ display: inline;
1010
+ }
1011
+
1012
+ .ap-profile__bio a.mention.hashtag {
1013
+ display: inline;
1014
+ white-space: nowrap;
1015
+ }
1016
+
1017
+ .ap-profile__bio a.mention.hashtag span {
1018
+ display: inline;
1019
+ }
1020
+
1021
+ /* Mastodon invisible/ellipsis spans for long URLs in bios */
1022
+ .ap-profile__bio .invisible {
1023
+ display: none;
1024
+ }
1025
+
1026
+ .ap-profile__bio .ellipsis::after {
1027
+ content: "…";
1028
+ }
1029
+
996
1030
  .ap-profile__actions {
997
1031
  display: flex;
998
1032
  flex-wrap: wrap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-endpoint-activitypub",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.",
5
5
  "keywords": [
6
6
  "indiekit",
@@ -177,6 +177,17 @@
177
177
  .ap-pub__bio p { margin: 0 0 var(--space-s); }
178
178
  .ap-pub__bio p:last-child { margin-bottom: 0; }
179
179
 
180
+ /* Mastodon mention/hashtag formatting */
181
+ .ap-pub__bio .h-card { display: inline; }
182
+ .ap-pub__bio .h-card a,
183
+ .ap-pub__bio a.u-url.mention { display: inline; white-space: nowrap; }
184
+ .ap-pub__bio .h-card a span,
185
+ .ap-pub__bio a.u-url.mention span { display: inline; }
186
+ .ap-pub__bio a.mention.hashtag { display: inline; white-space: nowrap; }
187
+ .ap-pub__bio a.mention.hashtag span { display: inline; }
188
+ .ap-pub__bio .invisible { display: none; }
189
+ .ap-pub__bio .ellipsis::after { content: "…"; }
190
+
180
191
  /* ================================================================
181
192
  Profile fields
182
193
  ================================================================ */