From 8d6943227d6646ae12ca365dd1bfd7ba1db95ee0 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Tue, 12 May 2015 08:54:47 -0700 Subject: [PATCH] chore(material): add e2e smoke tests for a few more components. Closes #1884 --- .../src/components/radio/radio-button.scss | 7 ++++++- .../src/components/radio/radio_button.html | 4 ++-- .../e2e_test/material/grid_list_spec.es6 | 16 ++++++++++++++++ .../examples/e2e_test/material/input_spec.es6 | 17 +++++++++++++++++ .../examples/e2e_test/material/radio_spec.es6 | 13 ++++++++++++- .../src/material/grid_list/demo_app.html | 4 ++-- .../examples/src/material/radio/demo_app.html | 10 ++++++++-- 7 files changed, 63 insertions(+), 8 deletions(-) create mode 100644 modules/examples/e2e_test/material/grid_list_spec.es6 create mode 100644 modules/examples/e2e_test/material/input_spec.es6 diff --git a/modules/angular2_material/src/components/radio/radio-button.scss b/modules/angular2_material/src/components/radio/radio-button.scss index cdb8ee6972..c9700c28d0 100644 --- a/modules/angular2_material/src/components/radio/radio-button.scss +++ b/modules/angular2_material/src/components/radio/radio-button.scss @@ -16,7 +16,7 @@ md-radio-button { md-radio-group { border: 1px dotted transparent; - display: block; + display: inline-block; outline: none; } @@ -71,6 +71,11 @@ md-radio-group { width: auto; } +.md-radio-root { + display: block; + cursor: pointer; +} + // THEME diff --git a/modules/angular2_material/src/components/radio/radio_button.html b/modules/angular2_material/src/components/radio/radio_button.html index 7406388266..f1f4ec488b 100644 --- a/modules/angular2_material/src/components/radio/radio_button.html +++ b/modules/angular2_material/src/components/radio/radio_button.html @@ -2,9 +2,9 @@ -