Merge pull request #1230 from danielyxie/dev

fix tooltip cut off
This commit is contained in:
hydroflame 2021-09-11 23:36:30 -04:00 committed by GitHub
commit 1b63f833be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 24 deletions

@ -26,23 +26,11 @@
margin: 4px; margin: 4px;
} }
/* Create program */
#create-program-container {
position: fixed;
padding-top: 10px;
}
#create-program-page-text, #create-program-page-text,
#create-program-list { #create-program-list {
width: 70%; width: 70%;
} }
/* Factions and Faction (Single Faction page) */
#factions-container {
position: fixed;
padding-top: 10px;
}
.faction-work-div { .faction-work-div {
width: 70%; width: 70%;
height: 100%; height: 100%;

File diff suppressed because one or more lines are too long

10
dist/engineStyle.css vendored

@ -1658,20 +1658,10 @@ button {
padding: 4px; padding: 4px;
margin: 4px; } margin: 4px; }
/* Create program */
#create-program-container {
position: fixed;
padding-top: 10px; }
#create-program-page-text, #create-program-page-text,
#create-program-list { #create-program-list {
width: 70%; } width: 70%; }
/* Factions and Faction (Single Faction page) */
#factions-container {
position: fixed;
padding-top: 10px; }
.faction-work-div { .faction-work-div {
width: 70%; width: 70%;
height: 100%; } height: 100%; }

@ -123,7 +123,8 @@ export class AugmentationsPage extends React.Component<IProps, IState> {
render(): React.ReactNode { render(): React.ReactNode {
const augs = this.getAugsSorted(); const augs = this.getAugsSorted();
const purchasable = augs.filter( const purchasable = augs.filter(
(aug: string) => aug === AugmentationNames.NeuroFluxGovernor || (aug: string) =>
aug === AugmentationNames.NeuroFluxGovernor ||
(!this.props.p.augmentations.some((a) => a.name === aug) && (!this.props.p.augmentations.some((a) => a.name === aug) &&
!this.props.p.queuedAugmentations.some((a) => a.name === aug)), !this.props.p.queuedAugmentations.some((a) => a.name === aug)),
); );
@ -175,6 +176,15 @@ export class AugmentationsPage extends React.Component<IProps, IState> {
<br /> <br />
{augListElems} {augListElems}
{ownedElem} {ownedElem}
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</div> </div>
); );
} }

@ -43,6 +43,11 @@ export function ProgramsRoot(props: IProps): React.ReactElement {
); );
})} })}
</ul> </ul>
<br />
<br />
<br />
<br />
<br />
</> </>
); );
} }