Skip to content

Commit

Permalink
Remove vertical navigation from classifai registration.
Browse files Browse the repository at this point in the history
  • Loading branch information
iamdharmesh committed Dec 6, 2024
1 parent 92c5b3a commit 8bdd166
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
11 changes: 2 additions & 9 deletions src/js/settings/components/classifai-registration/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,8 @@ export const SaveSettingsButton = ( {
*/
export const ClassifAIRegistration = () => {
return (
<div className="service-settings-wrapper">
<div className="classifai-tabs" aria-orientation="vertical">
<NavLink className={ 'active-tab classifai-tabs-item' }>
{ __( 'ClassifAI Registration', 'classifai' ) }
</NavLink>
</div>
<div className="feature-settings-wrapper">
<ClassifAIRegistrationForm />
</div>
<div className="classifai-settings-dashboard">
<ClassifAIRegistrationForm />
</div>
);
};
7 changes: 0 additions & 7 deletions src/scss/settings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,6 @@
display: none;
}

@media screen and (max-width: 782px) {
margin-top: 16px;
}
}

.save-settings-button{
Expand Down Expand Up @@ -580,10 +577,6 @@

.classifai-settings-dashboard {
margin-top: 36px;

@media screen and (max-width: 782px) {
margin-top: 12px;
}
}

.classifai-feature-status {
Expand Down

0 comments on commit 8bdd166

Please sign in to comment.