File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -90,7 +90,8 @@ export class RightBrowseSidebar extends React.Component<IRightBrowseSidebarProps
90
90
const dateAdded = new Date ( game . dateAdded ) . toUTCString ( ) ;
91
91
const screenshotSrc = this . props . gameImages . getScreenshotPath ( game . title , game . platform ) ;
92
92
return (
93
- < div className = { 'browse-right-sidebar simple-scroll' + ( canEdit ?' browse-right-sidebar--edit-enabled' :'' ) } >
93
+ < div className = { 'browse-right-sidebar simple-scroll ' +
94
+ ( canEdit ? 'browse-right-sidebar--edit-enabled' : 'browse-right-sidebar--edit-disabled' ) } >
94
95
{ /* -- Title & Developer(s) -- */ }
95
96
< div className = 'browse-right-sidebar__section' >
96
97
< div className = 'browse-right-sidebar__row' >
@@ -119,10 +120,10 @@ export class RightBrowseSidebar extends React.Component<IRightBrowseSidebarProps
119
120
< >
120
121
{ /* "Edit" Button */ }
121
122
{ isPlaceholder ? undefined : (
122
- < div className = 'browse-right-sidebar__title-row__buttons__edit-button'
123
- title = 'Edit Game' onClick = { this . props . onEditClick } >
124
- < OpenIcon icon = 'pencil' />
125
- </ div >
123
+ < div className = 'browse-right-sidebar__title-row__buttons__edit-button'
124
+ title = 'Edit Game' onClick = { this . props . onEditClick } >
125
+ < OpenIcon icon = 'pencil' />
126
+ </ div >
126
127
) }
127
128
{ /* "Remove From Playlist" Button */ }
128
129
{ gamePlaylistEntry ? (
Original file line number Diff line number Diff line change @@ -454,13 +454,14 @@ body {
454
454
width : 12em ;
455
455
padding : 0.25em ;
456
456
margin-right : 0.5em ;
457
+ overflow : hidden;
457
458
/* Pimp */
458
459
border : 1px solid var (--theme__search-bar__outline-color );
459
460
background-color : var (--theme__background-color );
460
461
}
461
462
.header__search__input , .header__search__input : active {
462
463
font-size : 1em ;
463
- /* Pimp */
464
+ width : 100 % ;
464
465
color : var (--theme__text-color );
465
466
background : none;
466
467
border : none;
@@ -969,7 +970,7 @@ body {
969
970
flex : 0 0 auto;
970
971
white-space : pre;
971
972
}
972
- .browse-right-sidebar__row--one-line > : last-child {
973
+ .browse-right-sidebar--edit-disabled . browse-right- sidebar__row--one-line > : last-child {
973
974
flex : 1 1 auto;
974
975
text-overflow : ellipsis;
975
976
overflow : hidden;
@@ -981,7 +982,7 @@ body {
981
982
.browse-right-sidebar__row--additional-applications-name {
982
983
display : flex;
983
984
}
984
- .browse-right-sidebar__row--additional-applications-name > : first-child {
985
+ .browse-right-sidebar--edit-disabled . browse-right- sidebar__row--additional-applications-name > : first-child {
985
986
flex : 1 1 auto;
986
987
overflow : hidden;
987
988
text-overflow : ellipsis;
@@ -1007,7 +1008,7 @@ body {
1007
1008
display : block;
1008
1009
overflow-y : visible;
1009
1010
}
1010
- .browse-right-sidebar__title-row__title > * {
1011
+ .browse-right-sidebar--edit-disabled . browse-right- sidebar__title-row__title > * {
1011
1012
overflow-x : hidden;
1012
1013
white-space : nowrap;
1013
1014
text-overflow : ellipsis;
You can’t perform that action at this time.
0 commit comments