qemu-devel
[Top][All Lists]
Advanced

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

[qemu-web PATCH] fix cases where the left column becomes too large


From: Paolo Bonzini
Subject: [qemu-web PATCH] fix cases where the left column becomes too large
Date: Fri, 24 Mar 2023 11:40:05 +0100

On the blogs page, long lines under a <pre> tag will make the left column
overlap the sidebar.  Fix it in the CSS.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 _includes/assets.html        | 2 +-
 assets/css/skel-noscript.css | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/_includes/assets.html b/_includes/assets.html
index 411a1ac..aba3f3c 100644
--- a/_includes/assets.html
+++ b/_includes/assets.html
@@ -14,7 +14,7 @@
 
        <link rel="stylesheet" href="{{ relative_root 
}}/assets/css/normalize.css" />
        <link rel="stylesheet" 
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css";
 />
-       <link rel="stylesheet" href="{{ relative_root 
}}/assets/css/skel-noscript.css" />
+       <link rel="stylesheet" href="{{ relative_root 
}}/assets/css/skel-noscript.css?v=2" />
        <link rel="stylesheet" href="{{ relative_root }}/assets/css/style.css" 
/>
        <link rel="stylesheet" href="{{ relative_root 
}}/assets/css/style-mobile.css" media="(max-width:699px)"/>
        <link rel="stylesheet" href="{{ relative_root 
}}/assets/css/style-desktop.css" media="(min-width:700px)" />
diff --git a/assets/css/skel-noscript.css b/assets/css/skel-noscript.css
index e0a141e..98c50b7 100644
--- a/assets/css/skel-noscript.css
+++ b/assets/css/skel-noscript.css
@@ -27,6 +27,7 @@
                        -o-box-sizing: border-box;
                        -ms-box-sizing: border-box;
                        box-sizing: border-box;
+                       max-width: 100%;
                }
 
        /* Rows */
-- 
2.39.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]