Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
886
Issues
886
List
Boards
Labels
Service Desk
Milestones
Merge Requests
54
Merge Requests
54
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
640d2ce0
Commit
640d2ce0
authored
52 minutes ago
by
Marcelo Rivera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(fix): modals issues
parent
70937b66
epic/minds-pro
1 merge request
!507
WIP: (feat): Minds Pro (development branch) - Release 3
Pipeline
#78915769
failed with stages
in 7 minutes and 16 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
10 deletions
+22
-10
overlay-modal.component.scss
...mon/components/overlay-modal/overlay-modal.component.scss
+1
-1
overlay-modal.component.ts
...ommon/components/overlay-modal/overlay-modal.component.ts
+13
-8
channel.component.html
src/app/modules/pro/channel/channel.component.html
+1
-1
channel.component.scss
src/app/modules/pro/channel/channel.component.scss
+7
-0
No files found.
src/app/common/components/overlay-modal/overlay-modal.component.scss
View file @
640d2ce0
...
...
@@ -122,7 +122,7 @@
}
}
.m-overlay-modal--shown
{
.m-overlay-modal--shown
,
.m-overlay-modal--shown--no-scroll
{
overflow
:
hidden
;
}
...
...
This diff is collapsed.
Click to expand it.
src/app/common/components/overlay-modal/overlay-modal.component.ts
View file @
640d2ce0
import
{
Component
,
AfterViewInit
,
ViewChild
,
Component
,
ComponentFactoryResolver
,
ComponentRef
,
Input
,
Injector
,
ElementRef
ElementRef
,
Injector
,
ViewChild
}
from
'
@angular/core
'
;
import
{
DynamicHostDirective
}
from
'
../../directives/dynamic-host.directive
'
;
...
...
@@ -39,7 +39,8 @@ export class OverlayModalComponent implements AfterViewInit {
constructor
(
private
service
:
OverlayModalService
,
private
_componentFactoryResolver
:
ComponentFactoryResolver
)
{
}
)
{
}
ngAfterViewInit
()
{
if
(
!
this
.
root
&&
document
&&
document
.
body
)
{
...
...
@@ -52,9 +53,11 @@ export class OverlayModalComponent implements AfterViewInit {
create
(
componentClass
,
opts
?,
injector
?:
Injector
)
{
this
.
dismiss
();
opts
=
{
...{
class
:
''
,
},
...
opts
};
opts
=
{
...{
class
:
''
,
},
...
opts
};
this
.
class
=
opts
.
class
;
...
...
@@ -102,6 +105,7 @@ export class OverlayModalComponent implements AfterViewInit {
if
(
this
.
root
)
{
this
.
root
.
classList
.
add
(
'
m-overlay-modal--shown
'
);
document
.
body
.
classList
.
add
(
'
m-overlay-modal--shown--no-scroll
'
);
}
}
...
...
@@ -110,6 +114,7 @@ export class OverlayModalComponent implements AfterViewInit {
if
(
this
.
root
)
{
this
.
root
.
classList
.
remove
(
'
m-overlay-modal--shown
'
);
document
.
body
.
classList
.
remove
(
'
m-overlay-modal--shown--no-scroll
'
);
}
if
(
!
this
.
componentInstance
)
{
...
...
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/channel.component.html
View file @
640d2ce0
...
...
@@ -158,4 +158,4 @@
</div>
</div>
<m-overlay-modal
#overlayModal
style=
"z-index:99999999"
></m-overlay-modal>
<m-overlay-modal
#overlayModal
></m-overlay-modal>
This diff is collapsed.
Click to expand it.
src/app/modules/pro/channel/channel.component.scss
View file @
640d2ce0
...
...
@@ -28,6 +28,13 @@ m-pro--channel {
background-color
:
var
(
--
m-pro--transparent-background-color
);
}
}
&
.m-overlay-modal--shown
{
m-overlay-modal
{
position
:
fixed
;
z-index
:
9999990
;
}
}
}
@media
screen
and
(
max-width
:
480px
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment