Skip to content

Commit

Permalink
[front] - refactor: update button styles in VaultWebsiteModal
Browse files Browse the repository at this point in the history
 - Change "tertiary" button variant to "outline" and remove disabled tooltip
 - Update "secondary" button variant to "outline" in AdvancedSettingsModal
  • Loading branch information
Jules committed Oct 23, 2024
1 parent 51223dd commit a440370
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions front/components/vaults/VaultWebsiteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -674,11 +674,8 @@ const AdvancedSettingsModal = ({
/>
</div>
<Button
variant="tertiary"
labelVisible={false}
label=""
variant="outline"
icon={XMarkIcon}
disabledTooltip={true}
onClick={() => {
const newHeaders = headers.filter((_, i) => i !== index);
onSave(newHeaders);
Expand All @@ -690,7 +687,7 @@ const AdvancedSettingsModal = ({
</div>
<div className="flex">
<Button
variant="secondary"
variant="outline"
className="outline"
label="Add Header"
onClick={() => {
Expand Down

0 comments on commit a440370

Please sign in to comment.