Commit 4b046ab9 authored by mostafabarmshory's avatar mostafabarmshory

Bug fixed in toolbar view:

- Apply border
- Add padding to title
- Check featrue length
parent 48f934ec
......@@ -32,17 +32,17 @@
layout="row"
layout-fill>
<am-wb-inline
ng-model="symbol"
am-wb-inline-type="image"
am-wb-inline-label="Gate symbol"
am-wb-inline-enable="true"
am-wb-inline-on-save="update()">
<img
width="300px"
height="300px"
ng-src="{{symbol}}" />
</am-wb-inline>
<!-- <am-wb-inline -->
<!-- ng-model="symbol" -->
<!-- am-wb-inline-type="image" -->
<!-- am-wb-inline-label="Gate symbol" -->
<!-- am-wb-inline-enable="true" -->
<!-- am-wb-inline-on-save="update()"> -->
<!-- <img -->
<!-- width="300px" -->
<!-- height="300px" -->
<!-- ng-src="{{symbol}}" /> -->
<!-- </am-wb-inline> -->
<div layout="column" flex>
<!-- Custom button group -->
<!-- See: https://material.angularjs.org/latest/CSS/button#grouping-with-css-overrides -->
......
<md-toolbar
wb-border="wbModel.style"
layout="row"
layout-align="center center">
<img
......@@ -7,7 +8,8 @@
ng-src="{{ wbModel.cover }}"
ng-class="md-icon-button"/>
<md-truncate
ng-if="wbModel.label"> {{ wbModel.label }}</md-truncate>
ng-if="wbModel.label"
layout-padding> {{ wbModel.label }}</md-truncate>
<md-button
hide show-gt-md
......@@ -27,7 +29,7 @@
<span flex></span>
<md-menu
ng-show="wbModel.features">
ng-show="wbModel.features.length">
<md-button
aria-label="Open demo menu"
class="md-icon-button"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment