@@ -140,12 +140,12 @@ <h5 id='single-comment'> you are viewing a single comment - <a style='text-decor
140
140
< selftext class ="comment-text comment-text-text safe-markup-text "> {{ comment.new_text|safe }}</ selftext >
141
141
</ div >
142
142
{% if session['user'] not in post.mods %}
143
- < div class ="row post-row comment-bottom " style ='margin-bottom: 1rem!important; '>
143
+ < div class ="row post-row comment-bottom " style ='margin-bottom: 1rem!important; display: inline; width: 100%; '>
144
144
{% else %}
145
- < div class ="row post-row comment-bottom ">
145
+ < div class ="row post-row comment-bottom " style =' display: inline; width: 100%; ' >
146
146
{% endif %}
147
147
148
- < div style ='display: inline-block ; ' class ="inner-div comment-voting " vote-obj-id ="{{ comment.id }} " vote-obj-type ="comment " vote-userid ="session['user_id'] " has_voted ="{{ comment.has_voted }} ">
148
+ < div style ='display: inline; ' class ="inner-div comment-voting " vote-obj-id ="{{ comment.id }} " vote-obj-type ="comment " vote-userid ="session['user_id'] " has_voted ="{{ comment.has_voted }} ">
149
149
{% if comment.has_voted == 1 %}
150
150
< a href ="javascript:void(0) "> < i style ="color: orange; "class ="fa fa-arrow-up "> </ i > </ a >
151
151
{% else %}
@@ -158,20 +158,24 @@ <h5 id='single-comment'> you are viewing a single comment - <a style='text-decor
158
158
< a href ="javascript:void(0) "> < i class ="fa fa-arrow-down "> </ i > </ a >
159
159
{% endif %}
160
160
</ div >
161
- < div class ="inner-div applyinline " stlye =' display: inline-block; ' >
161
+ < div class ="inner-div applyinline " style =" display: inline; " >
162
162
{% if post.locked == False %}
163
163
< a class ="comment-link comment-reply " href ="javascript:void(0) " comment_id ="{{ comment.id }} "> reply</ a >
164
164
{% endif %}
165
165
166
+ {% if loop.depth0 == 4 and value|length > 0 %}
167
+ < a class ="comment-link " href ="{{ config.URL }}/i/{{ post.sub }}/{{ post.id }}/{{ post.inurl_title }}/{{ comment.id }}/ "> < button class = 'btn-sm btn btn-success comment-more '>
168
+ more comments < i class ='fa fa-arrow-circle-right '> </ i >
169
+ </ button > </ a >
170
+ {% endif %}
166
171
167
172
168
-
169
- < div class ='commoptions '>
173
+ < div class ='commoptions ' style ='float: right; margin: 0.5rem; '>
170
174
{% if session['username'] == comment.author %}
171
175
<!-- USER MENU -->
172
176
< div class ="dropdown bottom-post-dropdown ">
173
- < button class ="btn btn-secondary btn-sm bottom-dropdown comment-button-dropdown " type ="button " id ="dropdownMenuButton2 " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
174
- < i class ='fa fa-user '> </ i >
177
+ < button class ="btn btn-secondary btn-bot btn- sm bottom-dropdown comment-button-dropdown " type ="button " id ="dropdownMenuButton2 " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
178
+ < i class ='fa fa-user '> </ i > < h6 class =' btn-description ' > user </ h6 >
175
179
</ button >
176
180
< div class ="dropdown-menu " aria-labelledby ="dropdownMenuButton ">
177
181
{% if session['username'] == post.author %}
@@ -190,8 +194,8 @@ <h5 id='single-comment'> you are viewing a single comment - <a style='text-decor
190
194
191
195
{% if session['username'] in post.mods or session['admin'] == True %}
192
196
< div class ="dropdown bottom-post-dropdown ">
193
- < button class ="btn btn-info btn-sm bottom-dropdown comment-button-dropdown " type ="button " id ="dropdownMenuButton3 " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
194
- < i class ='fa fa-gavel '> </ i >
197
+ < button class ="btn btn-info btn-sm btn-bot bottom-dropdown comment-button-dropdown " type ="button " id ="dropdownMenuButton3 " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
198
+ < i class ='fa fa-gavel '> < h6 class =' btn-description ' > mod </ h6 > < /i >
195
199
</ button >
196
200
< div class ="dropdown-menu " aria-labelledby ="dropdownMenuButton ">
197
201
{% if session['username'] != comment.author %}
@@ -201,11 +205,6 @@ <h5 id='single-comment'> you are viewing a single comment - <a style='text-decor
201
205
</ div >
202
206
</ div >
203
207
{% endif %}
204
- {% if loop.depth0 == 4 and value|length > 0 %}
205
- < a class ="comment-link " href ="{{ config.URL }}/i/{{ post.sub }}/{{ post.id }}/{{ post.inurl_title }}/{{ comment.id }}/ "> < button class = 'btn-sm btn btn-success comment-more '>
206
- more comments < i class ='fa fa-arrow-circle-right '> </ i >
207
- </ button > </ a >
208
- {% endif %}
209
208
210
209
211
210
0 commit comments