File tree Expand file tree Collapse file tree 4 files changed +10
-18
lines changed Expand file tree Collapse file tree 4 files changed +10
-18
lines changed Original file line number Diff line number Diff line change @@ -249,8 +249,6 @@ const MobileNav = () => {
249
249
const userIsOwner = user ?. username === project . owner ?. username ;
250
250
const Logo = AsteriskIcon ;
251
251
252
- const showPrivacyToggle =
253
- project ?. owner && title === project . name && userIsOwner ;
254
252
const showOwner = project ?. owner && title === project . name && ! userIsOwner ;
255
253
256
254
const toggleVisibility = ( e ) => {
@@ -274,17 +272,6 @@ const MobileNav = () => {
274
272
</ LogoContainer >
275
273
< Title >
276
274
< h1 > { title === project ?. name ? < ProjectName /> : title } </ h1 >
277
- { showPrivacyToggle && (
278
- < main className = "toolbar__makeprivate" >
279
- < p > Private</ p >
280
- < input
281
- className = "toolbar__togglevisibility"
282
- type = "checkbox"
283
- onChange = { toggleVisibility }
284
- defaultChecked = { project . visibility === 'Private' }
285
- />
286
- </ main >
287
- ) }
288
275
{ showOwner && < h5 > by { project ?. owner ?. username } </ h5 > }
289
276
</ Title >
290
277
Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ const Toolbar = (props) => {
122
122
</ div >
123
123
) }
124
124
125
- { /* ✅ Still show owner if not you */ }
126
125
{ project ?. owner && ! userIsOwner && (
127
126
< p className = "toolbar__project-owner" >
128
127
{ t ( 'Toolbar.By' ) } { ' ' }
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ const SketchListRowBase = ({
125
125
< th scope = "row" > { name } </ th >
126
126
< td > { formatDateCell ( sketch . createdAt , mobile ) } </ td >
127
127
< td > { formatDateCell ( sketch . updatedAt , mobile ) } </ td >
128
- < td hidden = { ! userIsOwner } >
128
+ < td hidden = { ! userIsOwner || mobile } >
129
129
< VisibilityDropdown
130
130
sketch = { sketch }
131
131
onVisibilityChange = { handleVisibilityChange }
Original file line number Diff line number Diff line change 45
45
46
46
@include themify () {
47
47
border-bottom : 1px solid getThemifyVariable (" modal-border-color" );
48
- background-color : white ;
48
+ background-color : getThemifyVariable ( " modal-background-color " ) ;
49
49
}
50
50
51
51
& :last-child {
54
54
55
55
& :hover {
56
56
@include themify () {
57
- background-color : getThemifyVariable (" table-row-stripe -color" ) !important ;
57
+ background-color : getThemifyVariable (" file-selected -color" ) !important ;
58
58
}
59
59
}
60
60
61
61
& .selected {
62
62
@include themify () {
63
- background-color : getThemifyVariable (" search-background -color" );
63
+ background-color : getThemifyVariable (" table-row-stripe -color" );
64
64
}
65
+
66
+ // &:hover {
67
+ // @include themify() {
68
+ // background-color: getThemifyVariable("table-row-stripe-color") !important;
69
+ // }
70
+ // }
65
71
}
66
72
}
67
73
You can’t perform that action at this time.
0 commit comments