Skip to content

Commit

Permalink
chore: remove flex-spacer from welcome tab
Browse files Browse the repository at this point in the history
  • Loading branch information
barmac authored Oct 21, 2024
1 parent 66cb85e commit 17812b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 2 additions & 2 deletions client/src/app/EmptyTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ export default class EmptyTab extends PureComponent {
<Tab className={ css.EmptyTab }>
{!Flags.get(DISABLE_ZEEBE) && !Flags.get(DISABLE_PLATFORM) && <h2 className="welcome-header">Choose the right version for your project:</h2>}
<div className="welcome-cards">
{!Flags.get(DISABLE_ZEEBE) && <>{this.renderCloudColumn()}<div className="flex-spacer" /></>}
{!Flags.get(DISABLE_PLATFORM) && <>{this.renderPlatformColumn()}<div className="flex-spacer" /></>}
{!Flags.get(DISABLE_ZEEBE) && <>{this.renderCloudColumn()}</>}
{!Flags.get(DISABLE_PLATFORM) && <>{this.renderPlatformColumn()}</>}
{this.renderLearnMoreColumn()}
</div>
</Tab>
Expand Down
9 changes: 2 additions & 7 deletions client/src/app/EmptyTab.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
bottom: 0;
left: 0;

.flex-spacer {
min-width: 5px;
max-width: 40px;
width: 1%;
}

h2.welcome-header {
font-size: 18px;
font-weight: 400;
Expand All @@ -43,6 +37,7 @@
justify-content: center;
display: flex;
flex-direction: row;
gap: clamp(5px, 1%, 40px);
}

.welcome-card {
Expand Down Expand Up @@ -113,7 +108,7 @@
}
}
}

button {
margin: 0 auto 1em auto;
background-color: var(--color-blue-205-100-50);
Expand Down

0 comments on commit 17812b1

Please sign in to comment.