Skip to content

Commit

Permalink
Project tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamauchi committed Aug 29, 2023
1 parent e8c3094 commit 4e519b5
Show file tree
Hide file tree
Showing 4 changed files with 387 additions and 20 deletions.
8 changes: 5 additions & 3 deletions src/calculator-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import '@shoelace-style/shoelace/dist/components/tooltip/tooltip.js';
import { PROJECTS } from './projects';

const buttonStyles = css`
button {
button.calculate {
appearance: none;
font-family: inherit;
font-size: 16px;
Expand All @@ -25,7 +25,7 @@ const buttonStyles = css`
width: 100%;
}
button:hover {
button.calculate:hover {
background-color: var(--ra-embed-primary-button-background-hover-color);
}
Expand Down Expand Up @@ -244,7 +244,9 @@ export const formTemplate = (
</label>
</div>
<div>
<button type="submit">Calculate! ${downIcon(18, 18)}</button>
<button class="calculate" type="submit">
Calculate! ${downIcon(18, 18)}
</button>
</div>
</div>
</form>
Expand Down
Loading

0 comments on commit 4e519b5

Please sign in to comment.