Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions res/css/photon/confirm-dialog.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@
*/

.confirmDialogTitle {
overflow: hidden;
margin: 0;
font-size: 1.2em;
text-overflow: ellipsis;
}

.confirmDialogContent {
Expand Down
10 changes: 8 additions & 2 deletions src/components/app/Home.css
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,11 @@
display: grid;
margin-top: 30px;
column-gap: 30px;
grid-template-columns: 1fr 1fr;

/* minmax makes the grid ignore the element's intrinsic size.
* If we use 1fr directly, the min is "auto", which depends on the content. If
* the content is too large then this can break the layout. */
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.homeInstructionsTransitionGroup {
Expand Down Expand Up @@ -206,7 +210,9 @@

.homeAdditionalContent,
.homeInstructions {
grid: none;
/* we switch to use just one column instead of 2.
* Note tha/ minmax makes the grid ignore the element's intrinsic size. */
grid-template-columns: minmax(0, 1fr);
Comment thread
julienw marked this conversation as resolved.
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/components/app/ListOfPublishedProfiles.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
}

.publishedProfilesDate {
width: 10em; /* The default flex properties make that it can shrink, so this is really the initial size. */
width: 10em;
flex: none;
padding-right: 4px;
white-space: nowrap;
}
Expand Down
5 changes: 5 additions & 0 deletions src/components/app/ProfileDeleteButton.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@
color: var(--red-60);
word-break: break-word;
}

.profileDeletePanel {
width: 500px;
max-width: 80vw;
}
1 change: 1 addition & 0 deletions src/components/app/ProfileDeleteButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export class ProfileDeleteButton extends PureComponent<ButtonProps> {
'photon-button',
'photon-button-default'
)}
panelClassName="profileDeletePanel"
label="Delete"
title={`Click here to delete the profile ${smallProfileName}`}
onPanelOpen={this.props.onOpenConfirmDialog}
Expand Down