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 3006-3009 $star-selected: #EDB867; Link Here
3006
    }
3006
    }
3007
}
3007
}
3008
3008
3009
#patron-virtual-card {
3010
    display: flex;
3011
    flex-direction: column;
3012
    align-items: flex-start;
3013
3014
    #barcode-container {
3015
        flex: 1;
3016
        width: 100%;
3017
        #patron-barcode {
3018
            padding: 1rem 0.25rem 1rem 0.25rem;
3019
            width: 100%;
3020
            height: auto;
3021
            min-height: 25px;
3022
        }
3023
    }
3024
3025
    #image-and-library-container {
3026
        #image-container {
3027
            flex: 0;
3028
            width: 100%;
3029
            #patron-image {
3030
                padding: 1rem 0 0.25rem 0.25rem;
3031
                display: block;
3032
                width: 100%;
3033
                height: auto;
3034
            }
3035
        }
3036
    }
3037
}
3038
3009
@import "responsive";
3039
@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