File tree Expand file tree Collapse file tree 1 file changed +20
-5
lines changed
Expand file tree Collapse file tree 1 file changed +20
-5
lines changed Original file line number Diff line number Diff line change 3030 <% end %>
3131 </ p >
3232
33+ < style type ="text/css ">
34+ td .url-cell {
35+ /* URL 用のセルにクラスを付けておく想定 */
36+ white-space : normal; /* 改行を許可 */
37+ word-wrap : break-word; /* 古めのブラウザ向け */
38+ overflow-wrap : break-word; /* 新しめのブラウザ向け */
39+ word-break : break-all; /* 英数字が続く場合の保険 (必要に応じて) */
40+ }
41+ </ style >
3342 < div style ="margin-top: 20px; " align ="center ">
3443 <% if @event_histories . any? %>
35- < table border ="1 "
44+ < table border ="1 " style =" table-layout: auto; " >
3645 < tr >
3746 < th style ="padding: 10px; text-align: center; ">
38- < small > ☯️< br class ='ignore-pc '>
47+ < small >
48+ ☯️
49+ < br class ='ignore-pc '>
3950 開催日
4051 </ small >
4152 </ th >
4253 < th style ="padding: 10px; text-align: center; ">
43- < small > 👥
54+ < small >
55+ 👥
56+ < br class ='ignore-pc '>
4457 参加数
4558 </ small >
4659 </ th >
4760 < th style ="padding: 10px; text-align: center; ">
48- < small > 📝
61+ < small >
62+ 📝
63+ < br class ='ignore-pc '>
4964 URL
5065 </ small >
5166 </ th >
5873 < td style ="padding: 1px 10px 1px 10px; text-align: right; ">
5974 < small > <%= event [ :participants ] %> </ small >
6075 </ td >
61- < td style ="padding: 1px 10px 1px 10px; text-align: left; ">
76+ < td class =" url-cell " style ="padding: 1px 10px 1px 10px; text-align: left; ">
6277 < small >
6378 < a href ='<%= event [ :event_url ] %> '>
6479 < span title ="<%= event [ :event_url ] %> "> <%= event [ :event_url ] . gsub ( 'https://' , '' ) . chomp ( '/' ) %> </ span >
You can’t perform that action at this time.
0 commit comments