Skip to content

Commit

Permalink
Replace buttons icons and small style update
Browse files Browse the repository at this point in the history
  • Loading branch information
BaldissaraMatheus committed Feb 12, 2024
1 parent 20731b8 commit c17ca2c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions frontend/public/stylesheets/index-2.3.0.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ button {
background: var(--button-background-color);
border: 1px solid var(--button-border-color);
color: var(--button-font-color);
text-align: center;
text-align: -moz-center;
text-align: -webkit-center;
}

button:focus-within {
Expand Down Expand Up @@ -143,6 +146,11 @@ button.small {
flex-wrap: wrap;
}

.header-buttons {
display: flex;
gap: 6px;
}

.search-input {
max-width: 232px;
width: 100%;
Expand Down Expand Up @@ -198,11 +206,6 @@ button.small {
text-wrap: balance;
}

.lane__header-buttons {
display: flex;
gap: 6px;
}

.lane__content {
flex-grow: 1;
width: 300px;
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/components/card-name.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { createSignal } from "solid-js";
import { Menu } from "./menu";
import { getButtonCoordinates, handleKeyDown as handleKeyDown } from "../utils";
import { BiRegularDotsVerticalRounded } from "solid-icons/bi";

/**
*
Expand Down Expand Up @@ -63,7 +64,7 @@ export function CardName(props) {
{props.name}
</strong>
</div>
<div class="lane__header-buttons">
<div class="header-buttons">
<button
title="Show card options"
class="small"
Expand All @@ -72,7 +73,7 @@ export function CardName(props) {
handleKeyDown(e, () => handleClick(e, true), handleCancel)
}
>
<BiRegularDotsVerticalRounded />
</button>
</div>
<Menu
Expand Down
8 changes: 5 additions & 3 deletions frontend/src/components/lane-name.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { createSignal } from "solid-js";
import { Menu } from "./menu";
import { getButtonCoordinates, handleKeyDown } from "../utils";
import { AiOutlinePlus } from 'solid-icons/ai'
import { BiRegularDotsVerticalRounded } from 'solid-icons/bi'

/**
*
Expand Down Expand Up @@ -65,13 +67,13 @@ export function LaneName(props) {
<h5 class="counter">{props.count}</h5>
</div>
</div>
<div class="lane__header-buttons">
<div class="header-buttons">
<button
title="Create new card"
class="small"
onClick={() => props.onCreateNewCardBtnClick()}
>
+
<AiOutlinePlus />
</button>
<button
title="Show lane options"
Expand All @@ -81,7 +83,7 @@ export function LaneName(props) {
handleKeyDown(e, () => handleOptionsBtnClick(e, true), handleCancel)
}
>
<BiRegularDotsVerticalRounded />
</button>
</div>
<Menu
Expand Down

0 comments on commit c17ca2c

Please sign in to comment.