Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sfcode
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush
sfcode
Commits
6fefb93a
Commit
6fefb93a
authored
Dec 04, 2020
by
Adarsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor
parent
a09fde7b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
src/app/file/file.component.scss
src/app/file/file.component.scss
+6
-5
src/app/file/file.component.ts
src/app/file/file.component.ts
+2
-0
No files found.
src/app/file/file.component.scss
View file @
6fefb93a
...
@@ -46,21 +46,22 @@
...
@@ -46,21 +46,22 @@
height
:
100%
;
/* Full height */
height
:
100%
;
/* Full height */
overflow
:
auto
;
/* Enable scroll if needed */
overflow
:
auto
;
/* Enable scroll if needed */
background-color
:
rgb
(
0
,
0
,
0
);
/* Fallback color */
background-color
:
rgb
(
0
,
0
,
0
);
/* Fallback color */
background-color
:
rgba
(
0
,
0
,
0
,
0
.
4
);
/* Black w/ opacity */
background-color
:
rgba
(
0
,
0
,
0
,
0
.
5
);
/* Black w/ opacity */
}
}
/* Modal Content */
/* Modal Content */
.modal-content
{
.modal-content
{
background
-color
:
#fefefe
;
background
:
var
(
--
bgcolor
)
;
margin
:
auto
;
margin
:
auto
;
padding
:
20px
;
padding
:
20px
;
border
:
1px
solid
#888
;
border
:
2px
solid
var
(
--
color
);
border-radius
:
10px
;
width
:
80%
;
width
:
80%
;
}
}
/* The Close Button */
/* The Close Button */
.close
{
.close
{
color
:
#aaaaaa
;
color
:
var
(
--
color
)
;
float
:
right
;
float
:
right
;
font-size
:
28px
;
font-size
:
28px
;
font-weight
:
bold
;
font-weight
:
bold
;
...
@@ -68,7 +69,7 @@
...
@@ -68,7 +69,7 @@
.close
:hover
,
.close
:hover
,
.close
:focus
{
.close
:focus
{
color
:
#000
;
color
:
white
;
text-decoration
:
none
;
text-decoration
:
none
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
src/app/file/file.component.ts
View file @
6fefb93a
...
@@ -34,6 +34,8 @@ export class FileComponent implements OnInit {
...
@@ -34,6 +34,8 @@ export class FileComponent implements OnInit {
onClick2
():
void
{
onClick2
():
void
{
var
modal
=
document
.
getElementById
(
"
myModal
"
);
var
modal
=
document
.
getElementById
(
"
myModal
"
);
modal
.
style
.
display
=
"
none
"
;
modal
.
style
.
display
=
"
none
"
;
this
.
shortLink
=
""
;
this
.
loading
=
false
;
}
}
onChange
(
event
)
{
onChange
(
event
)
{
...
...
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