sticky menu
This commit is contained in:
parent
e3efcaa624
commit
918df9d2df
9
main.js
9
main.js
@ -4,7 +4,7 @@
|
||||
// @version 2024-11-18
|
||||
// @desc try to take over the world!
|
||||
// @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
|
||||
// @grant none
|
||||
// @require https://code.jquery.com/jquery-3.7.1.min.js
|
||||
@ -679,6 +679,13 @@
|
||||
}
|
||||
|
||||
let styles = `
|
||||
.large-menu {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
background: white;
|
||||
}
|
||||
|
||||
#content-wrapper {
|
||||
display: flex;
|
||||
gap: 20px;
|
||||
|
Loading…
Reference in New Issue
Block a user