<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: In desktop, Instance is showing in Mobile View by default in HRSD forum</title>
    <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2988612#M37583</link>
    <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/352449"&gt;@Hampus1&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are fine with customizing your header (Employee Center Header) for the employee center, clone and change the code in the link part of the header widget&lt;/P&gt;&lt;P&gt;condition for font size&amp;nbsp;&lt;STRONG&gt;currentFontSize, &lt;/STRONG&gt;as shown in bold code&lt;/P&gt;&lt;P&gt;This will fix the issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; currentFontSize &amp;nbsp;= parseInt($(&lt;/SPAN&gt;&lt;SPAN&gt;'body'&lt;/SPAN&gt;&lt;SPAN&gt;).css(&lt;/SPAN&gt;&lt;SPAN&gt;'font-size'&lt;/SPAN&gt;&lt;SPAN&gt;));&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; constantOffset = &lt;/SPAN&gt;&lt;SPAN&gt;50&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; flexOffsetWidth = constantOffset * (currentFontSize / &lt;/SPAN&gt;&lt;SPAN&gt;16&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; if(currentFontSize &amp;lt; 30) { //changed from 16 to 30 to handle mobile menu&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scope.$apply(&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;() {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; scope.mobileDevice = controller.data.isMobile || (window.innerWidth &amp;lt;= controller.&lt;/SPAN&gt;&lt;SPAN&gt;MOBILE_DEVICE_SCREEN_WIDTH&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Revert incase of any other queries &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If you find this helpful, mark as helpful.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 12 Jul 2024 13:24:15 GMT</pubDate>
    <dc:creator>Harsha Pappala</dc:creator>
    <dc:date>2024-07-12T13:24:15Z</dc:date>
    <item>
      <title>In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2880481#M35621</link>
      <description>&lt;P&gt;Instance is showing in Mobile View by default even though I'm using desktop/laptop. For all users whom are using this instance it is showing like that. How to change the view to Desktop-view again?&lt;/P&gt;&lt;P&gt;I tried adding&amp;nbsp;?sysparm_device=desktop in url and it is changing to desktop view but when I open something from Nav Bar then it is opening in mobile view. Also portals are showing in Mobile view.&lt;/P&gt;&lt;P&gt;Can someone please provide a solution for this?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 11:11:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2880481#M35621</guid>
      <dc:creator>saurabhshinde</dc:creator>
      <dc:date>2024-03-28T11:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2880567#M35623</link>
      <description>&lt;P&gt;Click on your profile avatar and then on the 'switch to desktop' link.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 12:17:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2880567#M35623</guid>
      <dc:creator>Mark Manders</dc:creator>
      <dc:date>2024-03-28T12:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2911853#M36253</link>
      <description>&lt;P&gt;Did you manage to resolve the issue?&lt;/P&gt;
&lt;P&gt;I am also facing same issue&lt;/P&gt;</description>
      <pubDate>Sat, 27 Apr 2024 13:26:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2911853#M36253</guid>
      <dc:creator>mr18</dc:creator>
      <dc:date>2024-04-27T13:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2917745#M36376</link>
      <description>&lt;P&gt;Hi, we have the same issue in our Employee Center Portal.&lt;/P&gt;&lt;P&gt;What we've figured out is that this started happening for our stakeholders when the "Tour" button was added. The&amp;nbsp; root issue seems to be that the top-header bar (where the search bar and profile is shown) is too cramped. Our stakeholders are using laptops with a 1920x1080 screen that gets scaled to 150% in Windows automatically which in turn switches employee center to mobile view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't figured out a way to solve it though, anyone have any thoughts? Was thinking that maybe we can shrink the title in the top left or reduce the width of the search bar. Or are we able to change the limits for when the instance wants to switch to mobile view?&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 11:48:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2917745#M36376</guid>
      <dc:creator>Hampus1</dc:creator>
      <dc:date>2024-05-03T11:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2981740#M37451</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/352449"&gt;@Hampus1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are also stuck at this point, did you get around this issue ?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 08:01:07 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2981740#M37451</guid>
      <dc:creator>Harsha Pappala</dc:creator>
      <dc:date>2024-07-05T08:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2988556#M37579</link>
      <description>&lt;P&gt;We talked with ServiceNow support and they told us that they couldn't help us since it would mean that we would have to customize our instance. We haven't decided which way to go yet but I think our best options are to either remove some buttons from the header (or combine them) such as the "my activities, tasks, favorites" OR to try and make the search bar in the header shorter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll update this thread if we come to any conclusion that solves the issue.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jul 2024 12:34:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2988556#M37579</guid>
      <dc:creator>Hampus1</dc:creator>
      <dc:date>2024-07-12T12:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2988612#M37583</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/352449"&gt;@Hampus1&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are fine with customizing your header (Employee Center Header) for the employee center, clone and change the code in the link part of the header widget&lt;/P&gt;&lt;P&gt;condition for font size&amp;nbsp;&lt;STRONG&gt;currentFontSize, &lt;/STRONG&gt;as shown in bold code&lt;/P&gt;&lt;P&gt;This will fix the issue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; currentFontSize &amp;nbsp;= parseInt($(&lt;/SPAN&gt;&lt;SPAN&gt;'body'&lt;/SPAN&gt;&lt;SPAN&gt;).css(&lt;/SPAN&gt;&lt;SPAN&gt;'font-size'&lt;/SPAN&gt;&lt;SPAN&gt;));&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; constantOffset = &lt;/SPAN&gt;&lt;SPAN&gt;50&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;var&lt;/SPAN&gt;&lt;SPAN&gt; flexOffsetWidth = constantOffset * (currentFontSize / &lt;/SPAN&gt;&lt;SPAN&gt;16&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; if(currentFontSize &amp;lt; 30) { //changed from 16 to 30 to handle mobile menu&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; scope.$apply(&lt;/SPAN&gt;&lt;SPAN&gt;function&lt;/SPAN&gt;&lt;SPAN&gt;() {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; scope.mobileDevice = controller.data.isMobile || (window.innerWidth &amp;lt;= controller.&lt;/SPAN&gt;&lt;SPAN&gt;MOBILE_DEVICE_SCREEN_WIDTH&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;return&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; }&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;Revert incase of any other queries &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;If you find this helpful, mark as helpful.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 12 Jul 2024 13:24:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/2988612#M37583</guid>
      <dc:creator>Harsha Pappala</dc:creator>
      <dc:date>2024-07-12T13:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/3087990#M39135</link>
      <description>&lt;P&gt;Hi !&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;To&amp;nbsp;canceled showing Mobile View&amp;nbsp;&amp;gt; Click on your profile avatar &amp;gt;Go to &amp;gt; Accessibility &amp;gt; switch OFF "Enable accessibility in classic".&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 10:44:39 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/3087990#M39135</guid>
      <dc:creator>NicolasQ</dc:creator>
      <dc:date>2024-10-29T10:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/3095400#M39183</link>
      <description>&lt;P&gt;Check out my response&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 11:41:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/3095400#M39183</guid>
      <dc:creator>Harsha Pappala</dc:creator>
      <dc:date>2024-11-04T11:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: In desktop, Instance is showing in Mobile View by default</title>
      <link>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/3269148#M41471</link>
      <description>&lt;P&gt;Thank you for posting this! This issue has been plaguing our instance for a long time, this adjustment to link code worked&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 19:26:02 GMT</pubDate>
      <guid>https://www.servicenow.com/community/hrsd-forum/in-desktop-instance-is-showing-in-mobile-view-by-default/m-p/3269148#M41471</guid>
      <dc:creator>maxstnr</dc:creator>
      <dc:date>2025-05-20T19:26:02Z</dc:date>
    </item>
  </channel>
</rss>

