#5439 source browser window clipping margins [ss1910]

v1.0.0
closed
nobody
General
Cory Johns
2015-08-20
2012-12-10
Chris Tsai
No

[forge:site-support:#1910]

Hi,

the source code browser is clipping the horizontal margins. I think either a scroll bar or setting the width appropriately would fix it. I would prefer the latter over the former. This want an issue before when one could browse hg repositories directly from its web interface.

Regards
srean

eg. http://sourceforge.net/p/dclib/code/ci/b90ab60d8a18fc8616fb895b0d059c1cf07db3ce/tree/dlib/threads/thread_pool_extension_abstract.h#l69

Related

Tickets: #4848
Tickets: #5439

Discussion

  • Dave Brondsema

    Dave Brondsema - 2012-12-12
    • labels: support, p3 --> support, p3, 42cc
    • milestone: limbo --> forge-backlog
     
  • Igor Bondarenko - 2012-12-13
    • status: open --> in-progress
     
  • Igor Bondarenko - 2012-12-13

    Created #238: [#5439] Add horizontal scroll bar to code browser (1cp)

     

    Related

    Tickets: #5439

  • Igor Bondarenko - 2012-12-19

    Closed #238.

    allura:42cc_5439

    Also sftheme changes required (unfortunately, I don't have write access to sftheme repo)

    diff --git a/allura/sftheme/nf/sftheme/sass/partials/_scm.scss b/allura/sftheme/nf/sftheme/sass/partials/_scm.scss
    index f37a982..a403920 100644
    --- a/allura/sftheme/nf/sftheme/sass/partials/_scm.scss
    +++ b/allura/sftheme/nf/sftheme/sass/partials/_scm.scss
    @@ -140,6 +140,17 @@ div.message{
       }
     }
    
    +div.clip{
    +    &.grid-19{
    +        &.codebrowser{
    +            overflow-x: auto;
    +        }
    +    }
    +}
    +table.codehilitetable{
    +    width: 740px;
    +}
    +
     /* Repo status indicator, displayed on repo pages if status != 'ready' */
     #repo_status {
         h2 {
    
     
  • Igor Bondarenko - 2012-12-19
    • status: in-progress --> code-review
     
  • Cory Johns - 2013-01-07
    • status: code-review --> closed
    • qa: Cory Johns
    • milestone: forge-backlog --> forge-jan-11
     
  • Dave Brondsema

    Dave Brondsema - 2013-01-08

    Created [#5561] for further UI improvements

     

    Related

    Tickets: #5561


Log in to post a comment.