Changes

m
no edit summary
Line 168: Line 168:  
     -- Equipment table
 
     -- Equipment table
 
     local equipHeader = ''
 
     local equipHeader = ''
     local planeStyle = '<td style="white-space: nowrap; text-align: center; vertical-align: top;">'
+
     local planeStyle = '<td style="width: 25%; white-space: nowrap; text-align: center; vertical-align: top;">'
 
     local equipStyle = ''
 
     local equipStyle = ''
 
     if shipmodule.data[shipNum]["aircraft"] ~= "" then
 
     if shipmodule.data[shipNum]["aircraft"] ~= "" then
         equipHeader1 = '<th style="white-space: nowrap; {{border-radius|12px 4px 4px 12px}} background-color: #efe6d7; color: #a3965c;">Aircraft</th>'
+
         equipHeader1 = '<th style="width: 25%; white-space: nowrap; {{border-radius|12px 4px 4px 12px}} background-color: #efe6d7; color: #a3965c;">Aircraft</th>'
         equipHeader2 = '<th colspan="3" style="white-space: nowrap; {{border-radius|4px 12px 12px 4px}} background-color: #efe6d7; color: #a3965c; vertical-align: baseline;">Equipment</th>'
+
         equipHeader2 = '<th style="width: 75%; white-space: nowrap; {{border-radius|4px 12px 12px 4px}} background-color: #efe6d7; color: #a3965c; vertical-align: baseline;">Equipment</th>'
 
         equipHeader = equipHeader1 .. equipHeader2
 
         equipHeader = equipHeader1 .. equipHeader2
         equipStyle = '<td colspan="3" style="white-space: nowrap; text-align: center; vertical-align: baseline;">'
+
         equipStyle = '<td style="width: 75%; white-space: nowrap; text-align: center; vertical-align: baseline;">'
 
     else
 
     else
         equipHeader = '<th colspan="4" style="white-space: nowrap; {{border-radius|12px 12px 12px 12px}} background-color: #efe6d7; color: #a3965c; vertical-align: baseline;">Equipment</th>'
+
         equipHeader = '<th style="white-space: nowrap; {{border-radius|12px 12px 12px 12px}} background-color: #efe6d7; color: #a3965c; vertical-align: baseline;">Equipment</th>'
         equipStyle = '<td colspan="4" style="white-space: nowrap; text-align: center; vertical-align: baseline;">'
+
         equipStyle = '<td style="white-space: nowrap; text-align: center; vertical-align: baseline;">'
 
     end
 
     end
  
5,421

edits