Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
19c6546c
Commit
19c6546c
authored
Oct 18, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix webview hide
parent
222e2ad3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
38 deletions
+12
-38
app/mycard.component.css
app/mycard.component.css
+8
-0
app/mycard.component.html
app/mycard.component.html
+4
-38
No files found.
app/mycard.component.css
View file @
19c6546c
...
@@ -65,6 +65,7 @@ nav.darwin {
...
@@ -65,6 +65,7 @@ nav.darwin {
a
{
a
{
cursor
:
default
;
cursor
:
default
;
}
}
#window-buttons
.darwin
{
#window-buttons
.darwin
{
display
:
none
;
display
:
none
;
}
}
...
@@ -81,3 +82,10 @@ li > a:hover, #window-buttons > i:hover {
...
@@ -81,3 +82,10 @@ li > a:hover, #window-buttons > i:hover {
.navbar
{
.navbar
{
border-radius
:
initial
;
border-radius
:
initial
;
}
}
/* https://github.com/electron/electron/issues/7661#event-827104990 */
.hide
{
width
:
0
;
height
:
0
;
flex
:
0
1
;
}
\ No newline at end of file
app/mycard.component.html
View file @
19c6546c
...
@@ -31,42 +31,8 @@
...
@@ -31,42 +31,8 @@
</div>
</div>
</nav>
</nav>
<login
class=
"page"
[ngClass]=
"{hide: routingService.component != 'login'}"
></login>
<!-- Fixed navbar -->
<store
class=
"page"
[ngClass]=
"{hide: routingService.component != 'store'}"
></store>
<!--<div class="pos-f-t">
<lobby
class=
"page"
[ngClass]=
"{hide: routingService.component != 'lobby'}"
></lobby>
<div class="collapse" id="navbar-header">
<webview
id=
"community"
class=
"page"
[ngClass]=
"{hide: routingService.component != 'community'}"
<div class="container bg-inverse p-a-1">
<h3>Collapsed content</h3>
<p>Toggleable via the navbar brand.</p>
</div>
</div>
<nav class="navbar navbar-light navbar-static-top bg-faded">
<div class="container">
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#exCollapsingNavbar2">
☰
</button>
<div class="collapse navbar-toggleable-xs" id="exCollapsingNavbar2">
<a class="navbar-brand" href="#">Sticky footer</a>
<ul class="nav navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Nav item <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Another nav item</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">More nav</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Last link</a>
</li>
</ul>
</div>
</div>
</nav>
</div>-->
<login
class=
"page"
[hidden]=
"routingService.component != 'login'"
></login>
<store
class=
"page"
[hidden]=
"routingService.component != 'store'"
></store>
<lobby
class=
"page"
[hidden]=
"routingService.component != 'lobby'"
></lobby>
<webview
id=
"community"
class=
"page"
[hidden]=
"routingService.component != 'community'"
src=
"https://ygobbs.com"
></webview>
src=
"https://ygobbs.com"
></webview>
\ No newline at end of file
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