Skip to content

Commit 5fe9122

Browse files
committed
make drag button bigger for mobile devices
1 parent 3d7408a commit 5fe9122

File tree

2 files changed

+28
-27
lines changed

2 files changed

+28
-27
lines changed

build/css/style.css

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,6 @@ p.seperator {
111111
.examplesResizerDemos h2 {
112112
font-size: 20px; }
113113

114-
.resizerDemo-handler {
115-
position: absolute;
116-
right: 0;
117-
top: 0;
118-
bottom: 0;
119-
width: 9px;
120-
padding: 0 1px;
121-
background-color: gray;
122-
cursor: ew-resize;
123-
line-height: 5px;
124-
font-size: 14px; }
125-
126114
.resizerDemo-info {
127115
position: absolute;
128116
right: 10px;
@@ -142,13 +130,25 @@ p.seperator {
142130
margin-right: auto;
143131
font-family: monospace; }
144132

133+
.resizerDemo-handler {
134+
position: absolute;
135+
right: 0;
136+
top: 0;
137+
bottom: 0;
138+
width: 20px;
139+
padding: 0 1px;
140+
background-color: gray;
141+
cursor: ew-resize;
142+
line-height: 5px;
143+
font-size: 14px; }
144+
145145
.resizerDemo-handler:before {
146146
content: '• • •';
147147
color: white;
148148
width: 10px;
149149
position: absolute;
150150
top: 50%;
151-
left: 0;
151+
left: 5px;
152152
font-weight: 300;
153153
line-height: 6px;
154154
font-size: 11px;

css/style.scss

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,6 @@ p.seperator {
139139
font-size: 20px;
140140
}
141141

142-
.resizerDemo-handler {
143-
position: absolute;
144-
right: 0;
145-
top: 0;
146-
bottom: 0;
147-
width: 9px;
148-
padding: 0 1px;
149-
background-color: gray;
150-
cursor: ew-resize;
151-
line-height: 5px;
152-
font-size: 14px;
153-
}
154-
155142
.resizerDemo-info {
156143
position: absolute;
157144
right: 10px;
@@ -173,13 +160,27 @@ p.seperator {
173160
font-family: monospace;
174161
}
175162

163+
164+
.resizerDemo-handler {
165+
position: absolute;
166+
right: 0;
167+
top: 0;
168+
bottom: 0;
169+
width: 20px;
170+
padding: 0 1px;
171+
background-color: gray;
172+
cursor: ew-resize;
173+
line-height: 5px;
174+
font-size: 14px;
175+
}
176+
176177
.resizerDemo-handler:before {
177178
content: '• • •';
178179
color: white;
179180
width: 10px;
180181
position: absolute;
181182
top: 50%;
182-
left: 0;
183+
left: 5px;
183184
font-weight: 300;
184185
line-height: 6px;
185186
font-size: 11px;

0 commit comments

Comments
 (0)