Skip to content

Commit

Permalink
Tweaks (#866)
Browse files Browse the repository at this point in the history
* Button text fix Add -> New

* Update default border-radius

* Align border-radius for button styled anchor
  • Loading branch information
niwsa committed Feb 7, 2024
1 parent 4ab95f0 commit cf491b7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/dsync/DirectoriesWrapper/index.lite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default function DirectoriesWrapper(props: DirectoriesWrapperProps) {
<h5 class={styles.h5}>{props.title || 'Manage Dsync Connections'}</h5>
<div class={styles.ctoa}>
<Button
name='Add Connection'
name='New Directory'
handleClick={state.switchToCreateView}
classNames={props.classNames?.button?.ctoa}
/>
Expand Down
2 changes: 1 addition & 1 deletion src/shared/Anchor/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
.button {
border: 1px solid var(--primary-color);
padding: 0.5rem 1rem;
border-radius: 0.5rem;
border-radius: var(--border-radius);
}
2 changes: 1 addition & 1 deletion src/shared/common.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/* --ring-color: hsl(240 4.9% 83.9%); dark mode */
--border-color: #e5e7eb;
--border-width: 1px;
--border-radius: 0.375rem;
--border-radius: 0.25rem;
--alert-color-success: #36d399;
--alert-color-info: #3abff8;
--alert-color-warning: #fbbd23;
Expand Down
2 changes: 1 addition & 1 deletion src/sso/connections/ConnectionsWrapper/index.lite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default function ConnectionsWrapper(props: ConnectionsWrapperProp) {
<Spacer x={4} />
</Show>
<Button
name='Add Connection'
name='New Connection'
handleClick={state.switchToCreateView}
classNames={props.classNames?.button?.ctoa}
/>
Expand Down

0 comments on commit cf491b7

Please sign in to comment.