]> git.wh0rd.org - nano-editor.git/commitdiff
tighten up top table for mobile
authorMike Frysinger <vapier@gentoo.org>
Tue, 14 Nov 2023 16:56:08 +0000 (11:56 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 14 Nov 2023 16:56:08 +0000 (11:56 -0500)
Same as the previous commit, but for the top bar.

style.css
top.php

index b865d006a1e90de7b52950404307d8327225ffc1..65e93a22b383d0288b000944a48798b3e5ed1a95 100644 (file)
--- a/style.css
+++ b/style.css
@@ -69,6 +69,7 @@ table#homepage {
        padding-bottom: 3em;
 }
 
+table#top td,
 table#bottom td.indented {
        padding-left: 1ch;
        padding-right: 1ch;
@@ -84,6 +85,7 @@ table#homepage {
        font-size: x-small;
 }
 
+table#top td,
 table#bottom td.indented {
        padding-left: 0.5ch;
        padding-right: 0.5ch;
diff --git a/top.php b/top.php
index b88341bac33be5446a1a7e6abbc7ceb13d852e98..658d443413a317431f658b3c121608c7af9dc214 100644 (file)
--- a/top.php
+++ b/top.php
 <table border=0 width="100%">
 <tr><td>
 
-<table border=0 width="100%" class="inverted">
+<table id="top" border=0 width="100%" class="inverted">
 <tr>
 
-<td>
-&nbsp;Latest version:
-<?php include "last-version"; ?>
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-</td>
-
-<td align="center">
-<a href="/">The GNU nano homepage</a>
-</td>
-
-<td align="right">
-Modified:
-<?php include "last-modified"; ?>
-&nbsp;
-</td>
+<td>Latest version:
+<?php include "last-version"; ?></td>
+
+<td align="center"><a href="/">The GNU nano homepage</a></td>
+
+<td align="right">Modified:
+<?php include "last-modified"; ?></td>
 
 </tr>
 </table>