Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc1aacf6

Browse files
Dan icon dropdown fix (#1073)
1 parent6d16d13 commitc1aacf6

File tree

8 files changed

+16
-9
lines changed

8 files changed

+16
-9
lines changed

‎pgml-dashboard/src/components/navigation/left_nav/web_app/template.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<% use crate::components::{LeftNavMenu, Dropdown}; %>
2-
<navclass="navbarleftnav nav-pills h-100"data-controller="extend-bs-collapse navigation-left-nav-web-app"data-extend-bs-collapse-affected-value=".leftnav-collapse-affect">
2+
<navclass="leftnav nav-pills h-100"data-controller="extend-bs-collapse navigation-left-nav-web-app"data-extend-bs-collapse-affected-value=".leftnav-collapse-affect">
33
<divclass="d-flex flex-column justify-content-between h-100 w-100">
44
<divclass="d-flex flex-column">
55
<buttonclass="btn-left-nav-toggle mb-5"type="button"data-bs-toggle="collapse"data-bs-target=".leftnav-collapse"aria-expanded="true">

‎pgml-dashboard/src/components/navigation/left_nav/web_app/web_app.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
}
1515

1616
.leftnav {
17+
@extend.navbar;
1718
max-width:260px;
1819

1920
border:none;

‎pgml-dashboard/src/components/navigation/navbar/marketing/marketing.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.navbar-marketing-site {
2+
@extend.navbar;
23
&.horizontal {
34
background:linear-gradient(180deg,rgba(0,0,0,0.64)-55.68%,rgba(0,0,0,0)100%);
45
}

‎pgml-dashboard/src/components/navigation/navbar/marketing/template.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<% use crate::templates::components::PostgresLogo; %>
33

44
<divclass="sticky-top-nav"data-controller="navigation-navbar-marketing">
5-
<navclass="navbar navbar-marketing-site horizontal navbar-expand-lg"data-controller="search topnav-styling">
5+
<navclass="navbar-marketing-site horizontal navbar-expand-lg"data-controller="search topnav-styling">
66
<divclass="container gap-4">
77
<divclass="controls">
88
<%+ PostgresLogo::new("/") %>

‎pgml-dashboard/src/components/navigation/navbar/web_app/template.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
%>
66

77
<divclass="fixed-top-nav"data-controller="navigation-navbar-web-app">
8-
<navclass="navbar navbar-web-app horizontal navbar-expand-lg"data-controller="search topnav-web-app">
8+
<navclass="navbar-web-app horizontal navbar-expand-lg"data-controller="search topnav-web-app">
99

1010
<divclass="controls">
1111
<!-- Toggles items that come from left nav -->

‎pgml-dashboard/src/components/navigation/navbar/web_app/web_app.scss‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.navbar-web-app {
2+
@extend.navbar;
23
background-color:var(--webapp-nav-bg);
34

45
border-bottom:1pxsolid#{$gray-500};

‎pgml-dashboard/src/guards.rs‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl Cluster {
9090
"Notebooks".to_string(),
9191
"/dashboard?tab=Notebooks".to_string(),
9292
)
93-
.icon("thumbnail_bar")
93+
.icon("add_notes")
9494
.active(
9595
uri.is_some()
9696
&&(uri.clone().unwrap().starts_with("/dashboard?tab=Notebook")
@@ -100,7 +100,7 @@ impl Cluster {
100100
"Projects".to_string(),
101101
"/dashboard?tab=Projects".to_string(),
102102
)
103-
.icon("thumbnail_bar")
103+
.icon("library_add")
104104
.active(
105105
uri.is_some()
106106
&& uri.clone().unwrap().starts_with("/dashboard?tab=Project"),
@@ -109,7 +109,7 @@ impl Cluster {
109109
"Models".to_string(),
110110
"/dashboard?tab=Models".to_string(),
111111
)
112-
.icon("thumbnail_bar")
112+
.icon("space_dashboard")
113113
.active(
114114
uri.is_some()
115115
&& uri.clone().unwrap().starts_with("/dashboard?tab=Model"),
@@ -118,7 +118,7 @@ impl Cluster {
118118
"Snapshots".to_string(),
119119
"/dashboard?tab=Snapshots".to_string(),
120120
)
121-
.icon("thumbnail_bar")
121+
.icon("filter_center_focus")
122122
.active(
123123
uri.is_some()
124124
&& uri.clone().unwrap().starts_with("/dashboard?tab=Snapshot"),
@@ -127,7 +127,7 @@ impl Cluster {
127127
"Upload data".to_string(),
128128
"/dashboard?tab=Upload_Data".to_string(),
129129
)
130-
.icon("thumbnail_bar")
130+
.icon("upload")
131131
.active(
132132
uri.is_some()
133133
&& uri

‎pgml-dashboard/static/css/scss/layout/_containers.scss‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@
148148

149149
.webapp-content-max-width-container {
150150
max-width:$webapp-content-max-width;
151-
margin:0pxauto;
151+
margin:0px20px;
152152
min-height:calc(100vh-$navbar-height-$breadcrumb-height-1px);
153+
154+
@includemedia-breakpoint-up(md) {
155+
margin:0pxauto;
156+
}
153157
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp