Spaces:
Running
Running
Update app.py
Browse files475 added !important after border: 1pt
481 same
492 added padding: 0.069in; right after {table_style}
471 unmodified lines4724734744754754764774784794804814814824834844 unmodified lines489490491492492493494495471 unmodified lines f"width: {total_table_width_in}in !important; min-width: {total_table_width_in}in !important; " f"max-width: {total_table_width_in}in !important; table-layout: fixed !important; " "border-collapse: collapse !important; border-spacing: 0 !important; " "direction: rtl; border: 1pt solid #b7b7b7; background-color: #ffffff; " "direction: rtl; border: 1pt solid #b7b7b7 !important; background-color: #ffffff; " "line-height: 1.0 !important; height: auto; " "margin-top: 0 !important; margin-bottom: 0 !important; " "margin-left: auto !important; margin-right: auto !important;" ) base_cell = "border: 1pt solid #b7b7b7; padding: 0.069in !important; height: auto; overflow: hidden; white-space: normal !important; word-wrap: break-word !important; box-sizing: border-box !important;" base_cell = "border: 1pt solid #b7b7b7 !important; padding: 0.069in !important; height: auto; overflow: hidden; white-space: normal !important; word-wrap: break-word !important; box-sizing: border-box !important;" hebrew_cell_style = f"font-family: 'Times New Roman', serif !important; font-size: 18px !important; color: #000000 !important; text-align: right !important; vertical-align: middle; {base_cell}" english_cell_style = f"font-family: Arial, sans-serif !important; font-size: 11px !important; color: #000000 !important; text-align: center !important; vertical-align: top; line-height: 1.0 !important; {base_cell}" strongs_cell_style = f"font-family: 'Times New Roman', serif !important; font-size: 18px !important; color: #000000 !important; text-align: center !important; vertical-align: middle; line-height: 1.15 !important; {base_cell}"4 unmodified lines for idx, current_chunk in enumerate(table_chunks): # Open a new table for each chunk html_output.append(f'<table style="{table_style}" align="center" cellpadding="0" cellspacing="0">') html_output.append(f'<table style="{table_style}" padding: 0.069in;" align="center" cellpadding="0" cellspacing="0">') html_output.append(' <colgroup>') for _ in range(total_slots): html_output.append(f' <col style="width: {column_width_in}in !important; min-width: {column_width_in}in !important; max-width: {column_width_in}in !important;">')app.py+3-3