Skip to content

Commit

Permalink
^
Browse files Browse the repository at this point in the history
  • Loading branch information
weswojciech committed Feb 20, 2024
1 parent a276c85 commit d8b06fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .lh/src/styles/blocks/_button.scss.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"activeCommit": 0,
"commits": [
{
"activePatchIndex": 5,
"activePatchIndex": 6,
"patches": [
{
"date": 1708427369629,
Expand All @@ -28,6 +28,10 @@
{
"date": 1708427501648,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -5,9 +5,9 @@\n width: 100%;\n height: 56px;\n border: none;\n @include for-desktop {\n- width: calc(1260px / 324px);\n+ width: calc(1260px / 3.88);\n }\n &:hover {\n background-color: #F8F8FA;\n border: 2px solid #F0F1F4;\n"
},
{
"date": 1708427533196,
"content": "Index: \n===================================================================\n--- \n+++ \n@@ -0,0 +1,20 @@\n+.button {\n+ padding: 0 48px;\n+ border-radius: 8px;\n+ background-color: $button-color;\n+ width: 100%;\n+ height: 56px;\n+ border: none;\n+ \n+ @include for-desktop {\n+ width: calc(1260px / 3.889);\n+ }\n+ &:hover {\n+ background-color: #F8F8FA;\n+ border: 2px solid #F0F1F4;\n+ cursor: pointer;\n+ }\n+ &:hover > .text--button {\n+ color: #292929;\n+ }\n+}\n"
}
],
"date": 1708427369629,
Expand Down
3 changes: 2 additions & 1 deletion src/styles/blocks/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
width: 100%;
height: 56px;
border: none;

@include for-desktop {
width: calc(1260px / 3.889);
width: calc(1260px / 3.89);
}
&:hover {
background-color: #F8F8FA;
Expand Down

0 comments on commit d8b06fc

Please sign in to comment.