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 2926-2929 $star-selected: #EDB867; Link Here
2926
    display: none;
2926
    display: none;
2927
}
2927
}
2928
2928
2929
#patron-virtual-card {
2930
    display: flex;
2931
    flex-direction: column;
2932
    align-items: flex-start;
2933
2934
    #barcode-container {
2935
        flex: 1;
2936
        width: 100%;
2937
        #patron-barcode {
2938
            padding: 1rem 0.25rem 1rem 0.25rem;
2939
            width: 100%;
2940
            height: auto;
2941
            min-height: 25px;
2942
        }
2943
    }
2944
2945
    #image-and-library-container {
2946
        #image-container {
2947
            flex: 0;
2948
            width: 100%;
2949
            #patron-image {
2950
                padding: 1rem 0 0.25rem 0.25rem;
2951
                display: block;
2952
                width: 100%;
2953
                height: auto;
2954
            }
2955
        }
2956
    }
2957
}
2958
2929
@import "responsive";
2959
@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