Changeset 26118 for main/trunk


Ignore:
Timestamp:
2012-08-16T16:28:59+12:00 (12 years ago)
Author:
sjm84
Message:

Fixed horizontal classifiers going off the edge of the page when there are many of them

Location:
main/trunk/greenstone3/web/interfaces/default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/style/core.css

    r26029 r26118  
    7575}
    7676
     77.horizontalContainer {
     78    padding-left:0px;
     79    margin:0px;
     80}
     81
    7782.horizontalClassifierNode {
    7883    padding:0px 0px 10px 10px;
     84    list-style:none;
     85    display: inline-block;
    7986}
    8087
  • main/trunk/greenstone3/web/interfaces/default/transform/classifiertools.xsl

    r25929 r26118  
    124124            </xsl:when>
    125125            <xsl:when test="@childType = 'HList'">
    126                 <table><tr>
     126                <ul class="horizontalContainer">
    127127                    <xsl:for-each select='classifierNode'>
    128                         <td class="horizontalClassifierNode">
     128                        <li class="horizontalClassifierNode">
    129129                            <xsl:apply-templates select='.'>
    130130                                <xsl:with-param name='collName' select='$collName'/>
    131131                                <xsl:with-param name='serviceName' select='$serviceName'/>
    132132                            </xsl:apply-templates>
    133                         </td>
     133                        </li>
    134134                    </xsl:for-each>
    135                 </tr></table>
     135                </ul>
    136136                <xsl:for-each select='classifierNode'>
    137137                    <xsl:call-template name="processNodeChildren">
Note: See TracChangeset for help on using the changeset viewer.