質問編集履歴

1

情報不足

2021/04/27 05:28

投稿

shuring
shuring

スコア19

test CHANGED
File without changes
test CHANGED
@@ -63,3 +63,51 @@
63
63
  </script>
64
64
 
65
65
  ```
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+ 実現したい方の写真のhtmlです。
74
+
75
+
76
+
77
+ ```
78
+
79
+ <div style="padding-bottom: 50px;">
80
+
81
+ {% for comment in comments %}
82
+
83
+ <div class="shadow-sm rounded-pill" style="margin: 15px; padding: 15px;">
84
+
85
+ <diV class="flex-column" style="margin-left: 20px;" >
86
+
87
+ <div>
88
+
89
+ <img class="img-fluid rounded-circle" style="height: 30px; width: 30px; object-fit: cover;"
90
+
91
+ src="/media/{{ comment.owner.avatar }}">
92
+
93
+ {{ comment.owner.username }}
94
+
95
+ </div>
96
+
97
+ <div class="text-break" >
98
+
99
+ {{ comment.comment }}
100
+
101
+ </div>
102
+
103
+ </diV>
104
+
105
+ </div>
106
+
107
+ {% endfor %}
108
+
109
+ </div>
110
+
111
+
112
+
113
+ ```