Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clickableにtext-decoration: noneをつける #419

Merged
merged 2 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ exports[`Storyshots Button Danger 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -126,6 +128,8 @@ exports[`Storyshots Button Default 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -235,6 +239,8 @@ exports[`Storyshots Button Disabled 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -344,6 +350,8 @@ exports[`Storyshots Button Fixed 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -453,6 +461,8 @@ exports[`Storyshots Button Focus 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -562,6 +572,8 @@ exports[`Storyshots Button Layout Example 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -1029,6 +1041,8 @@ exports[`Storyshots Button Link 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -1138,6 +1152,8 @@ exports[`Storyshots Button Navigation 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -1247,6 +1263,8 @@ exports[`Storyshots Button Nihongo 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -1356,6 +1374,8 @@ exports[`Storyshots Button Overlay 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -1465,6 +1485,8 @@ exports[`Storyshots Button Primary 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -1574,6 +1596,8 @@ exports[`Storyshots Button Small 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ exports[`Storyshots Clickable Button 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -66,6 +68,8 @@ exports[`Storyshots Clickable Link 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down
1 change: 1 addition & 0 deletions packages/react/src/components/Clickable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const StyledClickableDiv = styled.div`
text-rendering: inherit;
letter-spacing: inherit;
word-spacing: inherit;
text-decoration: none;

&:focus {
outline: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ exports[`Storyshots DropdownSelector/Popover Basic 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -417,6 +417,8 @@ exports[`Storyshots DropdownSelector In Modal 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -877,6 +879,8 @@ exports[`Storyshots DropdownSelector Playground 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ exports[`Storyshots IconButton Default M 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -133,6 +135,8 @@ exports[`Storyshots IconButton Overlay M 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ exports[`Storyshots Modal Bottom Sheet 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -131,6 +133,8 @@ exports[`Storyshots Modal Default 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -245,6 +249,8 @@ exports[`Storyshots Modal Full Bottom Sheet 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -359,6 +365,8 @@ exports[`Storyshots Modal Internal Scroll 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ exports[`Storyshots TextArea Default 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -525,6 +527,8 @@ exports[`Storyshots TextArea Has Count 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -820,6 +824,8 @@ exports[`Storyshots TextArea Has Label 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ exports[`Storyshots TextField Default 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -591,6 +593,8 @@ exports[`Storyshots TextField Has Count 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -909,6 +913,8 @@ exports[`Storyshots TextField Has Label 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down Expand Up @@ -1229,6 +1235,8 @@ exports[`Storyshots TextField Prefix Icon 1`] = `
-ms-letter-spacing: inherit;
letter-spacing: inherit;
word-spacing: inherit;
-webkit-text-decoration: none;
text-decoration: none;
font: inherit;
margin: 0;
overflow: visible;
Expand Down
Loading