Update app.py
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ def highlight_diff(base_text, comp_text):
|
|
| 146 |
|
| 147 |
elif code == '-':
|
| 148 |
base_result.append(
|
| 149 |
-
f"<span style='color:#ff4d4f;
|
| 150 |
)
|
| 151 |
|
| 152 |
elif code == '+':
|
|
@@ -328,23 +328,23 @@ if __name__ == "__main__":
|
|
| 328 |
font-family: 'Pretendard', sans-serif;
|
| 329 |
}
|
| 330 |
|
| 331 |
-
/* ํ
์ด๋ธ
|
| 332 |
table {
|
| 333 |
-
table-layout: fixed;
|
| 334 |
-
width: 100%;
|
| 335 |
}
|
| 336 |
|
| 337 |
/* section ๊ณ ์ */
|
| 338 |
-
th:
|
| 339 |
-
width: 120px;
|
| 340 |
-
min-width: 120px;
|
| 341 |
-
max-width: 120px;
|
| 342 |
}
|
| 343 |
|
| 344 |
-
/*
|
| 345 |
th:nth-child(2), td:nth-child(2),
|
| 346 |
th:nth-child(3), td:nth-child(3) {
|
| 347 |
-
width:
|
| 348 |
}
|
| 349 |
|
| 350 |
/* ํค๋ ๊ณ ์ */
|
|
|
|
| 146 |
|
| 147 |
elif code == '-':
|
| 148 |
base_result.append(
|
| 149 |
+
f"<span style='color:#ff4d4f; font-weight:600'>{word}</span>"
|
| 150 |
)
|
| 151 |
|
| 152 |
elif code == '+':
|
|
|
|
| 328 |
font-family: 'Pretendard', sans-serif;
|
| 329 |
}
|
| 330 |
|
| 331 |
+
/* ํ
์ด๋ธ ๊ณ ์ */
|
| 332 |
table {
|
| 333 |
+
table-layout: fixed !important;
|
| 334 |
+
width: 100% !important;
|
| 335 |
}
|
| 336 |
|
| 337 |
/* section ๊ณ ์ */
|
| 338 |
+
th:nth-child(1), td:nth-child(1) {
|
| 339 |
+
width: 120px !important;
|
| 340 |
+
min-width: 120px !important;
|
| 341 |
+
max-width: 120px !important;
|
| 342 |
}
|
| 343 |
|
| 344 |
+
/* desc 2๊ฐ ์ ํํ ๋ฐ๋ฐ */
|
| 345 |
th:nth-child(2), td:nth-child(2),
|
| 346 |
th:nth-child(3), td:nth-child(3) {
|
| 347 |
+
width: 50% !important;
|
| 348 |
}
|
| 349 |
|
| 350 |
/* ํค๋ ๊ณ ์ */
|