Skip to content

Commit

Permalink
feat(radio): update spectrum css input
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook Johnson authored and Westbrook committed Jan 6, 2021
1 parent 1e9f240 commit 4fef340
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/radio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"@spectrum-css/radio": "^3.0.0-beta.4"
"@spectrum-css/radio": "^3.0.0-beta.5"
},
"dependencies": {
"@spectrum-web-components/base": "^0.1.3",
Expand Down
11 changes: 11 additions & 0 deletions packages/radio/src/radio.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,14 @@ governing permissions and limitations under the License.
*/

@import './spectrum-radio.css';

/**
* Work around the realities in https://github.com/adobe/spectrum-css/issues/1089
* while full t-shirt sizing is being developed at the Spectrum CSS level.
*/
:host {
--spectrum-radio-label-margin-top: var(
--spectrum-global-dimension-size-75,
6px
);
}

0 comments on commit 4fef340

Please sign in to comment.