Skip to content

Commit b67b075

Browse files
author
pipeline
committed
feature(EJ2-5519): user scallable tooltip casing
1 parent a83770f commit b67b075

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset="utf-8" />
66
<title>Essential JS 2 (Preview)</title>
7-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
88
<meta name="description" content="Essential JS 2 (Preview)" />
99
<meta http-equiv="x-ua-compatible" content="ie=edge">
1010
<meta name="author" content="Syncfusion" />
@@ -50,7 +50,7 @@
5050
</div>
5151
<div class='sb-header-right sb-right sb-table'>
5252
<div class="sb-header-item sb-table-cell">
53-
<div id="header-theme-switcher" role="button" tabindex="0" class="theme-wrapper" title='change theme of sample browser'>
53+
<div id="header-theme-switcher" role="button" tabindex="0" class="theme-wrapper" title='Change theme of sample browser'>
5454
<div id="sb-theme-text" class="sb-theme-text">
5555
<span class="sb-header-text-left">CHOOSE THEME</span>
5656
</div>
@@ -60,7 +60,7 @@
6060
</div>
6161
</div>
6262
<div class='sb-header-item sb-table-cell sb-search-wrapper'>
63-
<div class='sb-search-btn' id='sb-trigger-search' role="button" tabindex="0" aria-label="toggle sample search" title="toggle sample searchC">
63+
<div class='sb-search-btn' id='sb-trigger-search' role="button" tabindex="0" aria-label="toggle sample search" title="Toggle sample search">
6464
<span class='sb-settings sb-icons sb-icon-Search'></span>
6565
</div>
6666
</div>

src/common/index.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,11 @@ function removeOverlay(): void {
12991299
if (!sbBodyOverlay.classList.contains('sb-hide')) {
13001300
sbBodyOverlay.classList.add('sb-hide');
13011301
}
1302-
sbRightPane.scrollTop = 0;
1302+
if (!isMobile) {
1303+
sbRightPane.scrollTop = 0;
1304+
} else {
1305+
sbRightPane.scrollTop = 74;
1306+
}
13031307
}
13041308

13051309
function sampleOverlay(): void {

0 commit comments

Comments
 (0)