Skip to content

Commit

Permalink
禁用页面右侧边栏的粘性功能
Browse files Browse the repository at this point in the history
针对多种K8s资源的页面配置,移除了右侧边栏的“asideSticky”属性,防止边栏在滚动时保持固定,优化了页面布局和用户体验。
  • Loading branch information
weibaohui committed Oct 15, 2024
1 parent d7b7492 commit d1728a1
Show file tree
Hide file tree
Showing 35 changed files with 130 additions and 95 deletions.
1 change: 1 addition & 0 deletions assets/pages/cluster/cluster_role.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/cluster/cluster_role_binding.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/cluster/ingress_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/cluster/node.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/cluster/ns.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/cluster/priority_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/cluster/pv.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/cluster/runtime_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/cluster/storage_class.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/crd/crd.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/crd/crontab.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/configmap.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/cronjob.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/daemonset.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/deploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/endpoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/endpointslice.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/hpa.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/ing.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/job.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/lease.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/limit_range.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/network_policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
1 change: 1 addition & 0 deletions assets/pages/ns/pdb.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@
{
"type": "page",
"asideResizor": true,
"asideSticky": false,
"asideMinWidth": 150,
"asideMaxWidth": 400,
"aside": [
Expand Down
Loading

0 comments on commit d1728a1

Please sign in to comment.