From b1cdf48ca0feb22086681f1f95f5ef995c31270d Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen <paulus@paulusschoutsen.nl> Date: Tue, 2 Jun 2015 22:25:44 -0700 Subject: [PATCH] Frontend: fix state card content showing outside of card --- .../www_static/polymer/cards/state-card-content.html | 8 -------- .../www_static/polymer/cards/state-card-media_player.html | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/homeassistant/components/frontend/www_static/polymer/cards/state-card-content.html b/homeassistant/components/frontend/www_static/polymer/cards/state-card-content.html index 0feed86de00..e5b929b0804 100644 --- a/homeassistant/components/frontend/www_static/polymer/cards/state-card-content.html +++ b/homeassistant/components/frontend/www_static/polymer/cards/state-card-content.html @@ -7,14 +7,6 @@ <link rel="import" href="state-card-scene.html"> <link rel="import" href="state-card-media_player.html"> -<dom-module id="state-card-content"> - <style> - :host { - display: block; - } - </style> -</dom-module> - <script> (function() { var uiUtil = window.hass.uiUtil; diff --git a/homeassistant/components/frontend/www_static/polymer/cards/state-card-media_player.html b/homeassistant/components/frontend/www_static/polymer/cards/state-card-media_player.html index a9709795d7f..c475846be8d 100644 --- a/homeassistant/components/frontend/www_static/polymer/cards/state-card-media_player.html +++ b/homeassistant/components/frontend/www_static/polymer/cards/state-card-media_player.html @@ -11,6 +11,7 @@ .state { margin-left: 16px; text-align: right; + overflow-x: hidden; } .main-text { -- GitLab