Fix some styling
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good

This commit is contained in:
Willem Dantuma 2019-11-06 13:38:37 +01:00
parent 6ba1d39d31
commit eee83c03d5
5 changed files with 17 additions and 12 deletions

View File

@ -45,11 +45,13 @@
<fm-side-panel [visible]="(menuVisible|async)" class="menu">
<div class="container-fluid">
<div class="body">
<div class="logo">
<router-outlet name="side-panel-logo"></router-outlet>
<span><button type="button" class="btn btn-outline-secondary" (click)="handleToggleMenu($event)"><i class="fa fa-times" aria-hidden="true"></i></button></span>
<div class="d-flex flex-row">
<div class="mt-2 mb-2 flex-grow-1 logo"><router-outlet name="side-panel-logo"></router-outlet></div>
<div class="mt-2 mb-2 ml-2"><button type="button" class="btn btn-outline-secondary" (click)="handleToggleMenu($event)"><i class="fa fa-times" aria-hidden="true"></i></button></div>
</div>
<div class="d-flex flex-column cards">
<router-outlet name="side-panel-menu"></router-outlet>
</div>
<router-outlet name="side-panel-menu"></router-outlet>
</div>
</div>
</fm-side-panel>

View File

@ -85,16 +85,21 @@ switch2d3d {
font-style:italic;
}
div.logo {
div.header {
display:flex;
padding-top:1em;
margin-bottom:1em;
}
div.logo button {
div.header button {
margin-left:1em;
}
.logo {
overflow: hidden;
max-height: 2.5em;
}
timespan {
position: absolute;
transition: left 0.5s;

View File

@ -4,13 +4,13 @@
"directive-selector": [
true,
"attribute",
"lib",
"fm-map",
"camelCase"
],
"component-selector": [
true,
"element",
"lib",
"fm-map",
"kebab-case"
]
}

View File

@ -4,13 +4,13 @@
"directive-selector": [
true,
"attribute",
"lib",
"fm",
"camelCase"
],
"component-selector": [
true,
"element",
"lib",
"fm",
"kebab-case"
]
}

View File

@ -1,7 +1,5 @@
.menu-card {
margin-left:-7px;
padding-left:7px;
margin-right:-7px;
padding-right:7px;
margin-bottom:7px;
}