From 792d97712c872d1f813aea38d518c4da8cf5e6c3 Mon Sep 17 00:00:00 2001 From: cowrie Date: Sat, 14 Nov 2026 20:53:28 +0800 Subject: [PATCH] add overflow-x:auto to fix table when on mobile display --- web/dosen.html | 12 ++- web/index.html | 223 +++++++++++++++++++++++++++---------------------- 2 files changed, 136 insertions(+), 99 deletions(-) diff --git a/web/dosen.html b/web/dosen.html index 48f8912..b8e4905 100644 --- a/web/dosen.html +++ b/web/dosen.html @@ -62,12 +62,20 @@ background: #f9f9f9; border: 1px solid #ddd; border-radius: 4px; + gap: 10px; + /* Adds space between the link and the button */ } .file-item a { color: #333; text-decoration: none; font-weight: 500; + /* These 3 lines fix the text overflow */ + word-break: break-all; + overflow: hidden; + text-overflow: ellipsis; + /* Allow the link to shrink so the button doesn't get pushed out */ + flex: 1; } .file-item a:hover { @@ -78,6 +86,8 @@ .file-item button { padding: 2px 8px; font-size: 12px; + /* Prevent the button from shrinking or wrapping */ + flex-shrink: 0; } @@ -130,7 +140,7 @@ -
+
diff --git a/web/index.html b/web/index.html index f85caf3..523aac0 100644 --- a/web/index.html +++ b/web/index.html @@ -1,5 +1,6 @@ + @@ -20,113 +21,132 @@ - + - + -
- - - - - - - - - - - - - -
NoNama DosenJudul PenelitianTahunStatusHasil Publikasi (PDF)
+
+
+ + +
+
+
+
+

Daftar Penelitian Dosen

+
+
+ + + + + + + + + + + + + + + +
NoNama DosenJudul PenelitianTahunStatusHasil Publikasi (PDF)
+
+ + +
+
    +
  • 2026 © Tugas RPL.
  • +
+
- + +
-
-
    -
  • 2026 © Tugas RPL.
  • -
-
-
- -
- @@ -142,46 +162,45 @@ - + + \ No newline at end of file