.view-code {
    width: auto;
    height: auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.view-mini {
    height: 0px;
    border: 0px;
}

.view-maxi {
    height: 45px;
    border: 1px;
}