[gi-docgen/issue-90] template: Give more room to argument names




commit 973d9b05d774995e23b50def5dd2914d039231be
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon May 24 14:17:22 2021 +0100

    template: Give more room to argument names
    
    Specify a minimum width for the cell with the argument name.
    
    Fixes: #88

 gidocgen/templates/basic/style.css | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/gidocgen/templates/basic/style.css b/gidocgen/templates/basic/style.css
index 123d9ab..8ff4bf1 100644
--- a/gidocgen/templates/basic/style.css
+++ b/gidocgen/templates/basic/style.css
@@ -762,6 +762,11 @@ table.returns tr td {
   color: var(--text-color-muted);
 }
 
+table.arguments tr td:first-child,
+table.returns tr td:first-child {
+  min-width: 12em;
+}
+
 table.arguments tr.arg-name td,
 table.arguments tr.arg-description td,
 table.returns tr.arg-name td,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]