Closed dwightwatson closed 2 years ago
When using a subtitle on a resource it breaks the alignment of the global search results.
You'd expect "Dwight Watson" to be left-aligned with the email address.
Add a subtitle to your user resource and then search for it in the global search.
/** * Get the search result subtitle for the resource. * * @return string */ public function subtitle() { return $this->email; }
PR submitted and pending review:
Description:
When using a subtitle on a resource it breaks the alignment of the global search results.
You'd expect "Dwight Watson" to be left-aligned with the email address.
Detailed steps to reproduce the issue on a fresh Nova installation:
Add a subtitle to your user resource and then search for it in the global search.