Skip to content

Conversation

@mikhailovSvyat
Copy link
Collaborator

image
image

Переполнение
image

@@ -1,6 +1,15 @@
$navbar-mobile-height: 48px;
$navbar-submenu-height: 40px;
Copy link
Contributor

Choose a reason for hiding this comment

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

Ни в коем случае не смешиваем реализации для внешнего сайта и внутреннего, потом устанем разделять их.

@import "pages/about";
@import "pages/principles";

@import "lms/_main";
Copy link
Contributor

Choose a reason for hiding this comment

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

Разделяем целиком стили lms и внешнего сайта. В будущем у нас будет 3 репозитория: компоненты, внешний сайт, lms. Последние 2 будут переиспользовать только компоненты, но наследовать код у друг-друга точно не будут.

@mikhailovSvyat mikhailovSvyat force-pushed the feature-add-lms-layout branch from 42483dc to 7aff9ef Compare April 1, 2021 11:57
lg: 992px, // XXX: Keep in sync with values from `v2/js/utils.js`
xl: 1260px
xl: 1260px,
lms: 1222px // $grid-breakpoints(lg) + $sidebar-width
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Есть несколько переменных только для lms, вынести их в отдельный файл lms/variables.scss ?

$zindex-popover: 1080;
$zindex-tooltip: 1090;
$zindex-close: 1100;
$zindex-sidebar: 1050;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Вот это тоже только для lms

@@ -0,0 +1,43 @@
$sidebar-width: 230px;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Тоже наверное в lms/variables.scss нужно положить?

@@ -0,0 +1,194 @@
$navbar-submenu-height: 40px;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Это правильная реализация независимого меню для lms?

@mikhailovSvyat mikhailovSvyat added the help wanted Extra attention is needed label Apr 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants