Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Изменение логки работы боковой панели сайта #34

Merged
merged 12 commits into from
Nov 20, 2023

Conversation

dmsnback
Copy link

Панель по умолчанию была открыта, не темнеет экран при открытии меню, не перекрывает экран.
Есть конфликт бутстрап и таилвинд, панель меню появляется и сразу исчезает, если отключить таилвинд, то меню ведёт себя нормально closes #27

<nav class="navbar navbar-light" style="background-color: #64c2d1;">
<div class="container">
<div class="nav nav-pills justify-content-start">
<button class="btn" type="button" data-bs-toggle="offcanvas" data-bs-target="#staticBackdrop"
aria-controls="staticBackdrop">
<button class="btn" type="button" data-bs-toggle="collapse" data-bs-target="#sidebar"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

У этой кнопки нужно убрать поля data-bs-toggle и data-bs-target и дописать метод on_click

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<cкрипт> стоит добавить в этот файл </скрипт>

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лишний (?) это за файл

<body class="d-flex flex-column min-vh-100">

<body class="d-flex flex-column ">

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Столбец с сайдбаром нужно разместить на одном уровне со столбцом в котором будут header content и footer

</div>
<div class="col-auto px-0">
<div id="sidebar" class="collapse collapse-horizontal show border-end vh-100 shadow-sm" style="background-color: #340061";>
<div id="sidebar-nav" class="list-group border-0 rounded-0">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Тут стоит добавить класс me-4

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

этот файл не должен изменяться

.DS_Store Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лишний файл

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лишний файл

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лишний файл

@Raidzin Raidzin merged commit 9e90988 into dev Nov 20, 2023
4 checks passed
@Raidzin Raidzin deleted the feature/navbar_menu branch November 20, 2023 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Изменение логки работы боковой панели сайта
2 participants