Browse Source

HUE-483. Scrollable area for JFrame Gallery's view source is broken

Aaron Newton 14 years ago
parent
commit
15af74e99b

+ 6 - 6
apps/jframegallery/src/jframegallery/templates/source.mako

@@ -19,11 +19,11 @@
     <title>JFrame Gallery Source -- ${name}</title>
     <title>JFrame Gallery Source -- ${name}</title>
     </head>
     </head>
     <body>
     <body>
-      <div class="jf-src_view view" id="source">
-        <div data-filters="Tabs" data-tabs-selector=".tab" data-sections-selector=".section">
+      <div class="jf-src_view view" id="source" data-filters="SizeTo" data-size-to-height="0">
+        <div data-filters="Tabs, SizeTo" data-size-to-height="0" data-tabs-selector=".tab" data-sections-selector=".section">
           <div data-filters="SplitView">
           <div data-filters="SplitView">
-            <div class="left_col jframe_padded">
-              <ul>
+            <div class="left_col">
+              <ul class="jframe_padded">
                 <li class="tab html-tab"><a>HTML/Template</a></li>
                 <li class="tab html-tab"><a>HTML/Template</a></li>
                 %for js_name in js_data.iterkeys():
                 %for js_name in js_data.iterkeys():
                   <li class="tab">
                   <li class="tab">
@@ -32,8 +32,8 @@
                 %endfor
                 %endfor
               </ul>
               </ul>
             </div>
             </div>
-            <div class="right_col jframe_padded">
-              <ul class="jframe-clear">
+            <div class="right_col">
+              <ul class="jframe-clear jframe_padded">
                 ## Template data
                 ## Template data
                 <li class="section">
                 <li class="section">
                   <h3>Source for HTML</h3>
                   <h3>Source for HTML</h3>

+ 1 - 1
apps/jframegallery/static/css/jframegallery.css

@@ -36,7 +36,7 @@
 	-webkit-border-radius: 2px;
 	-webkit-border-radius: 2px;
 }
 }
 
 
-.jframe-gallery .file a {
+.jframe-gallery .jframe_contents.index  .file a {
 	background: url(/static/art/led-icons/tag.png) no-repeat 4px 2px;
 	background: url(/static/art/led-icons/tag.png) no-repeat 4px 2px;
 }
 }
 .jframe-gallery .index a:hover {
 .jframe-gallery .index a:hover {