-
Notifications
You must be signed in to change notification settings - Fork 133
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
fix dropdown-menu. issue #485 #490
Conversation
@@ -18,3 +18,7 @@ | |||
.x-min-w-0 { | |||
min-width: 0px !important; | |||
} | |||
|
|||
.x-z-index-dropdown { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
У нас ведь был кастомный класс для таких штук. Он не подойдет?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
По поводу кастомного класса не понял
Наложение идет потому, что для меню навигации используется класс sticky-top с z-index 1020
Класс dropdown-menu имеет z-index 1000
Чтобы это исправить, по-моему, нужно внести кастомный класс с z-index > 1020
или задавать другие значения для переменных
$zindex-dropdown: 1000 !default;
$zindex-sticky: 1020 !default;
$zindex-fixed: 1030 !default;
$zindex-modal-backdrop: 1040 !default;
$zindex-modal: 1050 !default;
$zindex-popover: 1060 !default;
$zindex-tooltip: 1070 !default;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
кажется нейминг не верный, скорее должно быть что-то типа x-z-index-2000
Нужна помощь
Я тут с ветками накосячил, создал новую не вернувшись в мастер, поэтому
здесь есть коммиты не касающиеся задачи
Думаю лучший способ сейчас - закрыть этот ПР и сделать его заново из
правильной ветки
Посоветуй, пожалуйста, как лучше
вс, 16 авг. 2020 г. в 10:09, Nikolay Gagarinov <notifications@github.com>:
… ***@***.**** commented on this pull request.
------------------------------
In app/Http/Controllers/WelcomeController.php
<#490 (comment)>:
> use Illuminate\View\View;
class WelcomeController extends Controller
{
public function index(): View
{
+
+ if (!auth()->user()) {
во 1. есть метод guest()
2. ты же здесь не лендинг добавляешь, а фиксишь менюшку
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#490 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACV2LTPEHXVX2HSNAHK2I6DSA6A3HANCNFSM4QAOO3DQ>
.
|
можешь сделать ребейз - в этой ветке удалит ькоммиты, которая относятся к лендингу. Потом форспуш |
Можно попробовать |
2beb7ea
to
cbdc841
Compare
все почистил, решение пока не менял |
Добавил кастомный класс css