lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-8210) Admin UI menu does not scroll
Date Mon, 26 Oct 2015 17:50:27 GMT

    [ https://issues.apache.org/jira/browse/SOLR-8210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14974648#comment-14974648
] 

Upayavira commented on SOLR-8210:
---------------------------------

My angularised version.... in app.js:

{code}
.directive('scrollableWhenSmall', function($window) {
  return {
    link: function(scope, element, attrs) {
      var w = angular.element($window);

      var checkFixedMenu = function() {
        var shouldScroll = w.height() < (element.height() + $('#header').height() + 40);
        element.toggleClass( 'scroll', shouldScroll);
      };
      w.bind('resize', checkFixedMenu);
      w.bind('load', checkFixedMenu);
    }
  }
})

and in index.html:

 <div id="wrapper" scrollable-when-small>

This appears to be working now - yay!

> Admin UI menu does not scroll
> -----------------------------
>
>                 Key: SOLR-8210
>                 URL: https://issues.apache.org/jira/browse/SOLR-8210
>             Project: Solr
>          Issue Type: Improvement
>          Components: web gui
>    Affects Versions: 5.3
>            Reporter: Upayavira
>            Assignee: Upayavira
>            Priority: Minor
>
> When you view the UI on a projector - or a small screen (e.g. with dev tools open), some
menu options might be obscured at the bottom of the screen. The menu doesn't scroll though,
meaning the only way to get to these entries is to use another screen, or change the text
size in the browser temporarily.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message