mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 14:04:21 +01:00
fix: enable to select text in buttons
This commit is contained in:
@@ -48,7 +48,7 @@ const Post: Component<PostProps> = (props) => {
|
||||
<div class="flex justify-between gap-1 text-xs">
|
||||
<button
|
||||
type="button"
|
||||
class="author flex min-w-0 truncate hover:text-blue-500"
|
||||
class="author flex min-w-0 select-text truncate hover:text-blue-500"
|
||||
onClick={(ev) => {
|
||||
ev.preventDefault();
|
||||
props?.onShowProfile?.();
|
||||
@@ -74,7 +74,7 @@ const Post: Component<PostProps> = (props) => {
|
||||
<div class="created-at shrink-0">
|
||||
<button
|
||||
type="button"
|
||||
class="hover:underline"
|
||||
class="select-text hover:underline"
|
||||
onClick={(ev) => {
|
||||
ev.preventDefault();
|
||||
props.onShowEvent?.();
|
||||
|
||||
Reference in New Issue
Block a user