🌐 AI搜索 & 代理 主页
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix dropdown position
  • Loading branch information
chillenberger committed Oct 13, 2023
commit cf029f690c85f1acb6634a47025ca4f1179ef910
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% use crate::components::{LeftNavMenu, Dropdown}; %>
<nav class="navbar leftnav nav-pills h-100" data-controller="extend-bs-collapse navigation-left-nav-web-app" data-extend-bs-collapse-affected-value=".leftnav-collapse-affect">
<nav class="leftnav nav-pills h-100" data-controller="extend-bs-collapse navigation-left-nav-web-app" data-extend-bs-collapse-affected-value=".leftnav-collapse-affect">
<div class="d-flex flex-column justify-content-between h-100 w-100">
<div class="d-flex flex-column">
<button class="btn-left-nav-toggle mb-5" type="button" data-bs-toggle="collapse" data-bs-target=".leftnav-collapse" aria-expanded="true">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
}

.leftnav {
@extend .navbar;
max-width: 260px;

border: none;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.navbar-marketing-site {
@extend .navbar;
&.horizontal {
background: linear-gradient(180deg, rgba(0, 0, 0, 0.64) -55.68%, rgba(0, 0, 0, 0) 100%);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% use crate::templates::components::PostgresLogo; %>

<div class="sticky-top-nav" data-controller="navigation-navbar-marketing">
<nav class="navbar navbar-marketing-site horizontal navbar-expand-lg" data-controller="search topnav-styling">
<nav class="navbar-marketing-site horizontal navbar-expand-lg" data-controller="search topnav-styling">
<div class="container gap-4">
<div class="controls">
<%+ PostgresLogo::new("/") %>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
%>

<div class="fixed-top-nav" data-controller="navigation-navbar-web-app">
<nav class="navbar navbar-web-app horizontal navbar-expand-lg" data-controller="search topnav-web-app">
<nav class="navbar-web-app horizontal navbar-expand-lg" data-controller="search topnav-web-app">

<div class="controls">
<!-- Toggles items that come from left nav -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.navbar-web-app {
@extend .navbar;
background-color: var(--webapp-nav-bg);

border-bottom: 1px solid #{$gray-500};
Expand Down