Skip to content

Commit 38d5505

Browse files
committed
Use a DIV with text-align instead of center
1 parent ba4b6a5 commit 38d5505

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/project/dashboards/sample.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
<div data-span-cols="2" data-id="valuation" data-view="Number" data-title="Current Valuation" data-moreinfo="In billions" data-prefix="$"></div>
1010
<div data-span-cols="2" data-id="convergence" data-view="Graph" data-title="Convergence" style="background-color:#ff9618"></div>
1111
</div>
12-
<center><div style="font-size: 12px">Try this: curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "text": "Hey, Look what I can do!" }' \http://<%=request.host%>:<%=request.port%>/widgets/welcome</div></center>
12+
<div style="font-size: 12px; text-align: center;">Try this: curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "text": "Hey, Look what I can do!" }' \http://<%=request.host%>:<%=request.port%>/widgets/welcome</div>
1313
</div>

templates/project/dashboards/sampletv.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ $(function() {
2626
<div data-span-cols="2" data-id="twitter_mentions" data-view="Comments" style="background-color:#ff9618;" data-moreinfo="Tweets tagged with #todayilearned"></div>
2727
<div data-id="karma" data-view="Number" data-title="Karma" data-moreinfo="In sync with my neighbour!" style="background-color:#96bf48;"></div>
2828
</div>
29-
<center><div style="font-size: 12px">Try this: curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "text": "Hey, Look what I can do!" }' \http://<%=request.host%>:<%=request.port%>/widgets/welcome</div></center>
29+
<div style="font-size: 12px; text-align: center;">Try this: curl -d '{ "auth_token": "YOUR_AUTH_TOKEN", "text": "Hey, Look what I can do!" }' \http://<%=request.host%>:<%=request.port%>/widgets/welcome</div>
3030
</div>

0 commit comments

Comments
 (0)