sticky menu

This commit is contained in:
Zhora Shalyapin 2025-02-25 10:33:46 +00:00
parent e3efcaa624
commit 918df9d2df

View File

@ -4,7 +4,7 @@
// @version 2024-11-18 // @version 2024-11-18
// @desc try to take over the world! // @desc try to take over the world!
// @author You // @author You
// @match https://rst.runcity.org/*/cp_mgmt*action=edit* // @match https://rst.runcity.org/*/cp_mgmt*
// @icon https://www.google.com/s2/favicons?sz=64&domain=runcity.org // @icon https://www.google.com/s2/favicons?sz=64&domain=runcity.org
// @grant none // @grant none
// @require https://code.jquery.com/jquery-3.7.1.min.js // @require https://code.jquery.com/jquery-3.7.1.min.js
@ -679,6 +679,13 @@
} }
let styles = ` let styles = `
.large-menu {
position: sticky;
top: 0;
z-index: 10;
background: white;
}
#content-wrapper { #content-wrapper {
display: flex; display: flex;
gap: 20px; gap: 20px;