Skip to content

Link field entry titles too wide #11563

Open
@stuartcusackie

Description

@stuartcusackie

Bug description

The Link fieldtype is currently showing the full title of the linked entry. If it's a long title then it can cause layout issues. Here are some examples:

50% width Link field in bard:
Image

Grid field: table layout
Image

Grid field: stacked layout
Image

Can link titles be truncated to maybe 15 or 20 characters?

Thanks.

How to reproduce

  • Add a link field to a row of other fields.
  • Link to an entry with a long title.

Logs

Environment

Environment
Laravel Version: 11.44.1
PHP Version: 8.3.15
Composer Version: 2.7.4
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: Europe/Dublin
Locale: en

Cache
Config: NOT CACHED
Events: CACHED
Routes: CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: smtp
Queue: database
Session: file

Livewire
Livewire: v3.6.1

Statamic
Addons: 8
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 5.49.1 PRO

Statamic Addons
jacksleight/statamic-bard-texstyle: 3.4.1
jonassiewertsen/statamic-live-search: 2.1.1
jonassiewertsen/statamic-livewire: 3.8.1
pecotamic/sitemap: 1.4.8
rias/statamic-redirect: 3.9.3
spatie/statamic-responsive-images: 5.2.2

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions