Skip to content

Commit da018a1

Browse files
fix(button styling): add style properties to toggle button (#12666)
Co-authored-by: Svetloslav Novoselski <[email protected]>
1 parent 3e2baef commit da018a1

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/app/action-strip/action-strip.sample.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ <h5>Actions in menu</h5>
7878
<igx-grid-editing-actions [asMenuItems]='true'></igx-grid-editing-actions>
7979
</igx-action-strip>
8080
</igx-grid>
81-
<button (click)='customItem = !customItem'>Toggle extra menu item</button>
8281
</div>
83-
82+
<button igxButton="outlined" (click)='customItem = !customItem'>Toggle extra submenu item</button>
8483

src/app/action-strip/action-strip.sample.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
:host {
2+
padding-bottom: 4rem;
3+
}
4+
15
.display-density-actions {
26
max-width: 600px;
37
margin: 16px;

src/app/action-strip/action-strip.sample.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class User {
4949
export class ActionStripSampleComponent implements OnInit {
5050
public result: string;
5151
public isVisible = false;
52-
public customItem = true;
52+
public customItem = false;
5353
public comfortable: DisplayDensity = DisplayDensity.comfortable;
5454
public cosy: DisplayDensity = DisplayDensity.cosy;
5555
public compact: DisplayDensity = DisplayDensity.compact;

0 commit comments

Comments
 (0)