View | Details | Raw Unified | Return to bug 26777
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/css/src/opac.scss (+30 lines)
Lines 3004-3007 $star-selected: #EDB867; Link Here
3004
    }
3004
    }
3005
}
3005
}
3006
3006
3007
#patron-virtual-card {
3008
    display: flex;
3009
    flex-direction: column;
3010
    align-items: flex-start;
3011
3012
    #barcode-container {
3013
        flex: 1;
3014
        width: 100%;
3015
        #patron-barcode {
3016
            padding: 1rem 0.25rem 1rem 0.25rem;
3017
            width: 100%;
3018
            height: auto;
3019
            min-height: 25px;
3020
        }
3021
    }
3022
3023
    #image-and-library-container {
3024
        #image-container {
3025
            flex: 0;
3026
            width: 100%;
3027
            #patron-image {
3028
                padding: 1rem 0 0.25rem 0.25rem;
3029
                display: block;
3030
                width: 100%;
3031
                height: auto;
3032
            }
3033
        }
3034
    }
3035
}
3036
3007
@import "responsive";
3037
@import "responsive";
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/barcode-generator.js (-1 / +11 lines)
Line 0 Link Here
0
- 
1
document.addEventListener("DOMContentLoaded", function() {
2
    var barcodeNumber = document.getElementById("patron-barcode").dataset.barcode;
3
    JsBarcode("#patron-barcode", barcodeNumber, {
4
        format: "CODE39",
5
        lineColor: "#000",
6
        width: 2,
7
        height: 100,
8
        displayValue: false,
9
        margin: 0
10
    });
11
});

Return to bug 26777