Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 9db2541

Browse files
committed
adds more fixes to style in idea-list view
1 parent 22302bd commit 9db2541

File tree

2 files changed

+14
-4
lines changed

2 files changed

+14
-4
lines changed

static/css/main.css

+11-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,17 @@ body {
5353
}
5454

5555
.thumb{
56-
padding-left: 10px !important;
56+
padding-left: 0px !important;
57+
}
58+
59+
.idea-pill{
60+
margin-bottom: 5px !important;
61+
}
62+
63+
@media (min-width: 992px) {
64+
.thumb{
65+
padding-left: 10px !important;
66+
}
5767
}
5868

5969
span.badge {

templates/ideaList.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h3 class="head-pad">
126126

127127
outhtml = outhtml +
128128
'<tr>'+
129-
'<th scope="row">'+
129+
'<th width="85%" scope="row">'+
130130
'<a href="'+cmt.get_absolute_url+'">'+
131131
cmt.name+
132132
'</a>'+
@@ -149,8 +149,8 @@ <h3 class="head-pad">
149149
// 'Share'+
150150
'</small></p>'+
151151
'</th>'+
152-
'<th>'+
153-
'<span id="votes'+i+'" class="badge badge-pill badge-info" data-toggle="tooltip" data-placement="bottom" data-html="true" title="'+vlist+'">'+ cmt.votes +'</span>'+
152+
'<th width="15%">'+
153+
'<span id="votes'+i+'" class="badge badge-pill badge-info idea-pill" data-toggle="tooltip" data-placement="bottom" data-html="true" title="'+vlist+'">'+ cmt.votes +'</span>'+
154154
vbutton+
155155
'</th>'+
156156
'</tr>'

0 commit comments

Comments
 (0)