Skip to content

Commit

Permalink
adjust panel button behavior
Browse files Browse the repository at this point in the history
Signed-off-by: matdave <[email protected]>
  • Loading branch information
matdave committed Nov 1, 2024
1 parent fd8b8f4 commit fe9df81
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 7 additions & 5 deletions _build/assets/sass/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,17 +111,19 @@ button.fred--btn, .fred--btn, .fred button.fred--btn, .fred .fred--btn{
background: transparent;
border-radius: $radius;
padding: math.div($baseGutter, 2) $baseGutter;
margin: math.div($baseGutter, 2) $baseGutter;
margin: auto $baseGutter;
float: right;
//&:hover, &:focus {
// background-color: darken($border-light, 15%);
// color: $black;
//}
order: 0;
&:hover, &:focus {
background-color: $border-light;
color: $black;
}
}
&-apply {
background: $green;
color: $white;
border: 0px solid transparent;
order: 1;
&:hover, &:focus {
background-color: darken($green, 15%);
}
Expand Down
5 changes: 5 additions & 0 deletions _build/assets/sass/_panels.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,9 @@
textarea{
height: initial;
}
&_button_wrapper{
display: flex;
justify-content: end;
margin-top: math.div($baseGutter, 2);
}
}

0 comments on commit fe9df81

Please sign in to comment.