From 183286450574f9acc04ca0c5fb9527e468b6d549 Mon Sep 17 00:00:00 2001
From: adrien <adrien@malingrey.fr>
Date: Thu, 17 Oct 2024 09:00:12 +0200
Subject: [PATCH] overflow

---
 xslt/compact.xsl | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/xslt/compact.xsl b/xslt/compact.xsl
index 2b9c03d..a5cb771 100755
--- a/xslt/compact.xsl
+++ b/xslt/compact.xsl
@@ -61,8 +61,11 @@
                 <link href="https://cdn.datatables.net/v/se/jszip-3.10.1/dt-2.1.8/b-3.1.2/b-html5-3.1.2/b-print-3.1.2/cr-2.0.4/fc-5.0.3/fh-4.0.1/r-3.0.3/datatables.min.css" rel="stylesheet"/>
                 <link href="{$basedir}/style.css" rel="stylesheet" type="text/css"/>
                 <style>
-.ui.mini.button {
+.ui.icon.buttons .mini.button {
     padding: 0.5em;
+}
+.action {
+    overflow-x: scroll;
 }
                 </style>
                 <script src="https://code.jquery.com/jquery-3.7.1.js"></script>
@@ -113,7 +116,7 @@ Exemples: 192.168.1.0/24 scanme.nmap.org 10.0-255.0-255.1-254"/>
                 <main class="ui wide container">
                     <h1 class="ui header"><xsl:value-of select="$targets"/></h1>
 
-                    <div class="ui doubling stackable three column compact grid">
+                    <div class="ui doubling stackable four column compact grid">
                         <xsl:apply-templates select="host | $init/host[not(address/@addr=$current/host/address/@addr)][not(status/@state='down')]"/>
                     </div>
                 </main>
@@ -244,7 +247,7 @@ function hostScanning(link) {
                 <xsl:attribute name="class">
                     <xsl:text>ui fluid mini left icon input </xsl:text>
                     <xsl:if test="$currentHost/ports/port | $initHost/ports/port[not(@portid=$currentHost/ports/port/@portid)][not(state/@state='closed')]">
-                        <xsl:text>action </xsl:text>
+                        <xsl:text>action buttons </xsl:text>
                     </xsl:if>
                     <xsl:choose>
                         <xsl:when test="$currentHost/status/@state='up'">success</xsl:when>