Skip to content

Commit

Permalink
[REFACTOR] CSS for AddOnEntry.tsx (#2933)
Browse files Browse the repository at this point in the history
* refactor: jest to vitest migration for EditCustomFieldDropDown.test.tsx

* refactor css for AddOnEntry.tsx
  • Loading branch information
hustlernik authored Dec 26, 2024
1 parent aac1466 commit c1d2e5f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 25 deletions.
24 changes: 0 additions & 24 deletions src/components/AddOn/core/AddOnEntry/AddOnEntry.module.css

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/AddOn/core/AddOnEntry/AddOnEntry.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useState } from 'react';
import styles from './AddOnEntry.module.css';
import styles from './../../../../style/app.module.css';
import { Button, Card, Spinner } from 'react-bootstrap';
import { UPDATE_INSTALL_STATUS_PLUGIN_MUTATION } from 'GraphQl/Mutations/mutations';
import { useMutation } from '@apollo/client';
Expand Down
27 changes: 27 additions & 0 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -2302,3 +2302,30 @@ button[data-testid='createPostBtn'] {
transform: scale(1);
}
}

/* AddOnEntry.tsx */

.entrytoggle {
margin: 24px 24px 0 auto;
width: fit-content;
}

.entryaction {
margin-left: auto;
display: flex !important;
align-items: center;
background-color: transparent;
color: #31bb6b;
}
.cardAddOnEntry {
border: 4px solid green;
}
.entryaction i {
margin-right: 8px;
}

.entryaction .spinner-grow {
height: 1rem;
width: 1rem;
margin-right: 8px;
}

0 comments on commit c1d2e5f

Please sign in to comment.