-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We already had this styling in our FollowTag formatting, but it's actually a universal design pattern for tags in Open Social that they're displayed as small pills. To accomplish this we add the classes in our TagSplitFormatter so that themes can use this. This is accompanied by a field file change in socialbase that ensures the main label for the profile tag field is not shown but the individual labels of the subfields are rendered as labels instead.
- Loading branch information
Showing
5 changed files
with
53 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
modules/social_features/social_profile/config/update/social_profile_update_12026.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
core.entity_view_display.profile.profile.default: | ||
expected_config: | ||
content: | ||
field_profile_profile_tag: | ||
label: visually_hidden | ||
update_actions: | ||
change: | ||
content: | ||
field_profile_profile_tag: | ||
label: inline |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters