File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 73
73
#result << "\n</ul>\n"
74
74
75
75
# 掲載方式 v2(表形式)e.g. https://news.coderdojo.jp/2024/12/25/box-japan-to-coderdojo/
76
- result << "<table style='margin: auto; border-collapse: separate; border-spacing: 20px; table-layout: fixed; width: 80 %;'>\n "
76
+ result << "<table style='margin: auto; border-collapse: separate; border-spacing: 20px; table-layout: fixed; width: 98 %;'>\n "
77
77
result << " <tbody>\n "
78
78
dojo_list . each_with_index do |dojo , i |p
79
79
result << " <tr>\n " if i %3 == 0
80
80
result << <<-DOJO_HTML
81
81
< td style ='text-align: center; width: 33%; '>
82
82
< a href ='#{ dojo [ :url ] } '>
83
83
< img src ='#{ dojo [ :logo ] . gsub ( '.webp' , '.png' ) } ' width='100px'/> < br >
84
- < span style ='font-weight: bolder; '> #{ dojo [ :name ] } < small > ( #{ dojo [ :prefecture ] } ) </ small> </ span>
84
+ < span style ='font-weight: bolder; '> #{ dojo [ :name ] } < br > < small > ( #{ dojo [ :prefecture ] } ) </ small> </ span>
85
85
</ a>
86
86
</ td>
87
87
DOJO_HTML
You can’t perform that action at this time.
0 commit comments