Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 5fa54b1

Browse files
committed
feat(handle): added a default handle icon
1 parent a714a0e commit 5fa54b1

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/ui-layout.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,13 @@
127127
margin-top: 0.45em;
128128
}
129129

130+
.ui-splitbar-handle {
131+
width: 10px;
132+
height: 2px;
133+
box-shadow: inset 0 0 0 32px, 0 -6px, 0 6px;
134+
margin: 0;
135+
}
136+
130137
/* Allow disabling of icons */
131138
.no-toggle .ui-splitbar-toggle {
132139
display: none;

src/ui-layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ angular.module('ui.layout', [])
951951
var index = ctrl.indexOfElement(element);
952952
var splitbar = angular.element('<div ui-splitbar>' +
953953
'<a><span class="ui-splitbar-icon ui-splitbar-toggle"></span></a>' +
954-
'<a><span class="ui-splitbar-icon ui-splitbar-handle ui-splitbar-icon-up"></span></a>' +
954+
'<a><span class="ui-splitbar-icon ui-splitbar-handle"></span></a>' +
955955
'<a><span class="ui-splitbar-icon ui-splitbar-toggle"></span></a>' +
956956
'</div>');
957957
if(0 < index && !ctrl.hasSplitbarBefore(scope.container)) {

0 commit comments

Comments
 (0)