Skip to content

Commit

Permalink
chore: remove class data-files-btn
Browse files Browse the repository at this point in the history
This class is assigned to buttons that:
- **either** have Bootstrap btn-primary
    (in which case the `.workbench-content .btn-primary` styles it)
- **or** are our custom `<Button>`
    (in which case the `composes: c-button` styles it)
  • Loading branch information
wesleyboar committed Dec 3, 2024
1 parent e5c17d8 commit d876f6c
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const DataFilesModalButtonCell = ({
<span>
<Button
type="primary"
className="float-right data-files-btn"
className="float-right"
disabled={disabled}
onClick={onClick}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ const ProjectRoleSelector = ({ projectId, username }) => {
{data.role !== selectedRole && !isFetching && (
<Button
type="primary"
className="data-files-btn"
onClick={() =>
setProjectRole({ oldRole: data.role, newRole: selectedRole })
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const DataFilesAddButton = ({ readOnly }) => {
<DropdownToggle
color="primary"
id="data-files-add"
className="data-files-btn"
>
+ Add
</DropdownToggle>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
@import '../../../styles/components/dropdown-menu.css';

.data-files-btn {
background-color: var(--global-color-accent--normal);
border-color: var(--global-color-accent--normal);
border-radius: 0;
}

.data-files-btn-cancel {
border-radius: 0;
}

#add-button-wrapper {
padding-left: var(--horizontal-buffer);
Expand Down

0 comments on commit d876f6c

Please sign in to comment.