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 7373#result << "\n</ul>\n"
7474
7575# 掲載方式 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 "
7777result << " <tbody>\n "
7878dojo_list . each_with_index do |dojo , i |p
7979 result << " <tr>\n " if i %3 == 0
8080 result << <<-DOJO_HTML
8181 < td style ='text-align: center; width: 33%; '>
8282 < a href ='#{ dojo [ :url ] } '>
8383 < 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>
8585 </ a>
8686 </ td>
8787 DOJO_HTML
You can’t perform that action at this time.
0 commit comments