From f5117e67d1b610ad33cfa40d7e6af8fcc2f25382 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 31 Jul 2017 23:11:08 -0700 Subject: [PATCH] Add border radius to paper-dialoggs --- src/dialogs/ha-voice-command-dialog.html | 6 ++++++ src/dialogs/more-info-dialog.html | 3 +++ 2 files changed, 9 insertions(+) diff --git a/src/dialogs/ha-voice-command-dialog.html b/src/dialogs/ha-voice-command-dialog.html index b9cfa2da7c..453f1ad835 100644 --- a/src/dialogs/ha-voice-command-dialog.html +++ b/src/dialogs/ha-voice-command-dialog.html @@ -75,6 +75,10 @@ display: none; } + paper-dialog { + border-radius: 2px; + } + @media all and (max-width: 450px) { paper-dialog { margin: 0; @@ -86,6 +90,8 @@ left: 0px; right: 0px; overflow: scroll; + border-bottom-left-radius: 0px; + border-bottom-right-radius: 0px; } .content { diff --git a/src/dialogs/more-info-dialog.html b/src/dialogs/more-info-dialog.html index cd3bdb1a22..862dc0ae72 100644 --- a/src/dialogs/more-info-dialog.html +++ b/src/dialogs/more-info-dialog.html @@ -16,6 +16,7 @@ paper-dialog { font-size: 14px; width: 365px; + border-radius: 2px; } paper-dialog[data-domain=camera] { @@ -44,6 +45,8 @@ left: 0px; right: 0px; overflow: scroll; + border-bottom-left-radius: 0px; + border-bottom-right-radius: 0px; } }