@@ -101,7 +101,9 @@ defmodule PetalComponents.ChatBubble do
101
101
< img :if = { @ avatar_src } class = "w-8 h-8 rounded-full " src = { @ avatar_src } alt = { @ avatar_alt } />
102
102
< div class = "flex flex-col w-full max-w-[320px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700 " >
103
103
{ render_header ( assigns ) }
104
- < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " > { @ message } </ p >
104
+ < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " >
105
+ { @ message }
106
+ </ p >
105
107
< span class = "text-sm font-normal text-gray-500 dark:text-gray-400 " > Delivered</ span >
106
108
</ div >
107
109
</ div >
@@ -474,7 +476,9 @@ defmodule PetalComponents.ChatBubble do
474
476
< img :if = { @ avatar_src } class = "w-8 h-8 rounded-full " src = { @ avatar_src } alt = { @ avatar_alt } />
475
477
< div class = "flex flex-col w-full max-w-[320px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700 " >
476
478
{ render_header ( assigns ) }
477
- < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " > { @ message } </ p >
479
+ < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " >
480
+ { @ message }
481
+ </ p >
478
482
< p class = "text-sm font-normal pb-2.5 text-gray-900 dark:text-white " >
479
483
< a
480
484
href = { @ url }
@@ -535,7 +539,9 @@ defmodule PetalComponents.ChatBubble do
535
539
< div class = "flex flex-col gap-1 " >
536
540
{ render_header ( assigns ) }
537
541
< div class = "flex flex-col w-full max-w-[326px] leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700 " >
538
- < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " > { @ message } </ p >
542
+ < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " >
543
+ { @ message }
544
+ </ p >
539
545
</ div >
540
546
< span class = "text-sm font-normal text-gray-500 dark:text-gray-400 " > Delivered</ span >
541
547
</ div >
@@ -555,7 +561,7 @@ defmodule PetalComponents.ChatBubble do
555
561
|> assign ( :rest , assigns [ :rest ] )
556
562
557
563
~H"""
558
- < div { @ rest } class = { [ "pc-chat-bubble" , "pc-chat-bubble--outline-voice_note " , @ class ] } >
564
+ < div { @ rest } class = { [ "pc-chat-bubble" , "pc-chat-bubble--outline-voice-note " , @ class ] } >
559
565
< div class = "flex items-start gap-2.5 " >
560
566
< img :if = { @ avatar_src } class = "w-8 h-8 rounded-full " src = { @ avatar_src } alt = { @ avatar_alt } />
561
567
< div class = "flex flex-col gap-1 w-full max-w-[326px] " >
@@ -780,7 +786,9 @@ defmodule PetalComponents.ChatBubble do
780
786
< img :if = { @ avatar_src } class = "w-8 h-8 rounded-full " src = { @ avatar_src } alt = { @ avatar_alt } />
781
787
< div class = "flex flex-col gap-1 " >
782
788
{ render_header ( assigns ) }
783
- < p :if = { @ message } class = "text-sm font-normal text-gray-900 dark:text-white max-w-[326px] " > { @ message } </ p >
789
+ < p :if = { @ message } class = "text-sm font-normal text-gray-900 dark:text-white max-w-[326px] " >
790
+ { @ message }
791
+ </ p >
784
792
< div class = "flex flex-col w-full max-w-[326px] leading-1.5 p-2 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700 " >
785
793
<%!-- Image Grid --%>
786
794
< div class = "grid gap-4 grid-cols-2 my-2.5 " >
@@ -895,7 +903,9 @@ defmodule PetalComponents.ChatBubble do
895
903
< img :if = { @ avatar_src } class = "w-8 h-8 rounded-full " src = { @ avatar_src } alt = { @ avatar_alt } />
896
904
< div class = "flex flex-col gap-1 w-full max-w-[320px] " >
897
905
{ render_header ( assigns ) }
898
- < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " > { @ message } </ p >
906
+ < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " >
907
+ { @ message }
908
+ </ p >
899
909
< div class = "flex flex-col w-full leading-1.5 p-4 border-gray-200 bg-gray-100 rounded-e-xl rounded-es-xl dark:bg-gray-700 " >
900
910
< p class = "text-sm font-normal pb-2.5 text-gray-900 dark:text-white " >
901
911
< a
@@ -957,7 +967,9 @@ defmodule PetalComponents.ChatBubble do
957
967
< img :if = { @ avatar_src } class = "w-8 h-8 rounded-full " src = { @ avatar_src } alt = { @ avatar_alt } />
958
968
< div class = "flex flex-col w-full max-w-[320px] leading-1.5 " >
959
969
{ render_header ( assigns ) }
960
- < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " > { @ message } </ p >
970
+ < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " >
971
+ { @ message }
972
+ </ p >
961
973
< span class = "text-sm font-normal text-gray-500 dark:text-gray-400 " > Delivered</ span >
962
974
</ div >
963
975
</ div >
@@ -976,7 +988,7 @@ defmodule PetalComponents.ChatBubble do
976
988
|> assign ( :rest , assigns [ :rest ] )
977
989
978
990
~H"""
979
- < div { @ rest } class = { [ "pc-chat-bubble" , "pc-chat-bubble--clean-voice_note " , @ class ] } >
991
+ < div { @ rest } class = { [ "pc-chat-bubble" , "pc-chat-bubble--clean-voice-note " , @ class ] } >
980
992
< div class = "flex items-start gap-2.5 " >
981
993
< img :if = { @ avatar_src } class = "w-8 h-8 rounded-full " src = { @ avatar_src } alt = { @ avatar_alt } />
982
994
< div class = "flex flex-col w-full max-w-[320px] leading-1.5 " >
@@ -1193,7 +1205,9 @@ defmodule PetalComponents.ChatBubble do
1193
1205
< img class = "w-8 h-8 rounded-full " src = { @ avatar_src } alt = { @ avatar_alt } />
1194
1206
< div class = "flex flex-col gap-1 " >
1195
1207
{ render_header ( assigns ) }
1196
- < p :if = { @ message } class = "text-sm font-normal text-gray-900 dark:text-white max-w-[326px] " > { @ message } </ p >
1208
+ < p :if = { @ message } class = "text-sm font-normal text-gray-900 dark:text-white max-w-[326px] " >
1209
+ { @ message }
1210
+ </ p >
1197
1211
< div class = "flex flex-col w-full max-w-[326px] leading-1.5 p-2 " >
1198
1212
<%!-- Image Grid with Tooltips --%>
1199
1213
< div class = "grid gap-4 grid-cols-2 my-2.5 " >
@@ -1310,7 +1324,9 @@ defmodule PetalComponents.ChatBubble do
1310
1324
< img class = "w-8 h-8 rounded-full " src = { @ avatar_src } alt = { @ avatar_alt } />
1311
1325
< div class = "flex flex-col w-full max-w-[320px] leading-1.5 " >
1312
1326
{ render_header ( assigns ) }
1313
- < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " > { @ message } </ p >
1327
+ < p :if = { @ message } class = "text-sm font-normal py-2.5 text-gray-900 dark:text-white " >
1328
+ { @ message }
1329
+ </ p >
1314
1330
< p class = "text-sm font-normal pb-2.5 text-gray-900 dark:text-white " >
1315
1331
< a
1316
1332
href = { @ url }
0 commit comments