File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed
Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 11module UnisonShare.Project.ProjectListing exposing (..)
22
33import Code.ProjectNameListing as ProjectNameListing exposing (ProjectNameListing )
4- import Html exposing (Html , div )
4+ import Html exposing (Html , div , text )
55import Html.Attributes exposing (class )
66import Lib.UserHandle exposing (UserHandle )
77import UI
@@ -125,7 +125,10 @@ view pl =
125125 UI . nothing
126126
127127 Project . Private ->
128- div [ class " private-icon" ] [ Icon . view Icon . eyeSlash ]
128+ div [ class " private-icon" ]
129+ [ Icon . view Icon . eyeSlash
130+ , text " Private"
131+ ]
129132 in
130133 div [ class " project-listing" , class colorClass ]
131134 [ ProjectNameListing . view pl. listing, visibilityIcon ]
Original file line number Diff line number Diff line change 22 --c-color_project-name-listing_private-icon : var (
33 --u-color_info_icon-on-element_subdued
44 );
5- --c-color_project-name-listing_private-icon_background : var (
6- --u-color_info_element_subdued
7- );
5+ --c-color_project-name-listing_private-icon_background : var (--color-blue-3 );
86
97 display : flex;
108 flex-direction : row;
119 align-items : center;
1210 gap : 0.5rem ;
1311
1412 & .private-icon {
15- width : 1.5rem ;
16- height : 1.5rem ;
13+ height : 1.25rem ;
14+ padding : 0 0.5rem ;
15+ font-size : var (--font-size-extra-small );
16+ gap : 0.25rem ;
17+ font-weight : bold;
18+ line-height : 1 ;
19+ color : var (--c-color_project-name-listing_private-icon );
1720 border-radius : 0.75rem ;
1821 background : var (--c-color_project-name-listing_private-icon_background );
1922 display : inline-flex;
You can’t perform that action at this time.
0 commit comments