-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from gisce/fix/adjust-fieldset-borders
- Loading branch information
Showing
3 changed files
with
36 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,41 @@ | ||
import styled from "styled-components"; | ||
|
||
export const FieldSetElement = styled.fieldset` | ||
export const FieldSetElement = styled.fieldset<{ borderRadius?: string }>` | ||
padding: 0.5rem; | ||
border-color: #D9D9D9; | ||
border-color: #d9d9d9; | ||
border-width: 1px; | ||
border-style: solid; | ||
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, | ||
"Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, | ||
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important; | ||
border-radius: ${(props) => props.borderRadius || "5px"}; | ||
font-family: | ||
ui-sans-serif, | ||
system-ui, | ||
-apple-system, | ||
BlinkMacSystemFont, | ||
"Segoe UI", | ||
Roboto, | ||
"Helvetica Neue", | ||
Arial, | ||
"Noto Sans", | ||
sans-serif, | ||
"Apple Color Emoji", | ||
"Segoe UI Emoji", | ||
"Segoe UI Symbol", | ||
"Noto Color Emoji" !important; | ||
`; | ||
|
||
export const Legend = styled.legend` | ||
all: initial; | ||
padding-left: 0.5em; | ||
padding-right: 0.5em; | ||
font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, | ||
sans-serif, "Apple Color Emoji", "Segoe UI Emoji"; | ||
font-family: | ||
system-ui, | ||
-apple-system, | ||
"Segoe UI", | ||
Roboto, | ||
Helvetica, | ||
Arial, | ||
sans-serif, | ||
"Apple Color Emoji", | ||
"Segoe UI Emoji"; | ||
font-size: 0.85rem; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters