Skip to content

Commit

Permalink
thicken border on hover instead of resizing (#3062)
Browse files Browse the repository at this point in the history
* thicken border on hover instead of resizing

* use outline instead of border
  • Loading branch information
johrstrom authored Sep 22, 2023
1 parent 4c9bd99 commit 04caf85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions apps/dashboard/app/javascript/stylesheets/projects.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
padding: 0.3rem;
margin: 0.5rem;

border: 4px solid rgb(26, 118, 211);
outline: 0.25em solid rgb(26, 118, 211);
border-radius: 10%;

&:hover {
transform: scale(0.98);
outline: 0.4em solid rgb(26, 118, 211);
}

a {
Expand Down
8 changes: 4 additions & 4 deletions apps/dashboard/app/javascript/stylesheets/scripts.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@

.editable-form-field {
padding: 0.3rem;
margin: 0.5rem;
margin-bottom: 1em;

border: 2px solid rgb(26, 118, 211);
outline: 0.15em solid rgb(26, 118, 211);
// border-radius: 10%;

&:hover {
transform: scale(0.98);
outline: 0.4em solid rgb(26, 118, 211);
}
}

Expand All @@ -19,4 +19,4 @@

.text-strike {
text-decoration: line-through;
}
}

0 comments on commit 04caf85

Please sign in to comment.