yii2-grid icon indicating copy to clipboard operation
yii2-grid copied to clipboard

sort down icon

Open t28hk opened this issue 1 year ago • 0 comments

When use <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"> <script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js" crossorigin="anonymous"></script>

Sort down icon not show correctly, recommend changing fa-sort-amount-down-alt to fa-sort-amount-down

vendor/kartik-v/yii2-grid/src/GridViewTrait.php

public static function getDefaultSorterIcons($notBs3)
{
    if ($notBs3) {
        return [
            SORT_ASC => '<i class="fas fa-sort-amount-down-alt"></i>',
            SORT_DESC => '<i class="fas fa-sort-amount-up"></i>',
        ];
    }

t28hk avatar Aug 15 '23 08:08 t28hk