Make submission menu ui more consistent

This commit is contained in:
Ajay 2022-09-18 21:47:04 -04:00
parent edf0295cdf
commit c66de4fdb1
2 changed files with 8 additions and 1 deletions

View file

@ -567,6 +567,12 @@ input::-webkit-inner-spin-button {
.sponsorTimeEditInput {
width: 90px;
border: 3px solid var(--sb-dark-red-outline);
}
.sponsorTimeEditInput.sponsorChapterNameInput {
width: auto;
padding: 3px;
}
.sponsorNowButton {

View file

@ -232,7 +232,8 @@ class SponsorTimeEditComponent extends React.Component<SponsorTimeEditProps, Spo
{sponsorTime.actionType === ActionType.Chapter ? (
<div onMouseLeave={() => this.setState({chapterNameSelectorOpen: false})}>
<input id={"chapterName" + this.idSuffix}
className="sponsorTimeEdit"
className="sponsorTimeEdit sponsorTimeEditInput sponsorChapterNameInput"
style={{color: "inherit", backgroundColor: "inherit"}}
ref={this.descriptionOptionRef}
type="text"
value={this.state.description}