diff --git a/client/app/assets/less/inc/base.less b/client/app/assets/less/inc/base.less index b9e3cda7ea..c8a13a510b 100755 --- a/client/app/assets/less/inc/base.less +++ b/client/app/assets/less/inc/base.less @@ -234,10 +234,6 @@ text.slicetext { } // page -.page-header--new .btn-favourite, .page-header--new .btn-archive { - font-size: 19px; - } - .page-title { display: flex; align-items: center; @@ -251,23 +247,10 @@ text.slicetext { display: inline-block; } - favorites-control { + .favorites-control { + font-size: 19px; margin-right: 5px; } - - @media (max-width: 767px) { - display: block; - - favorites-control { - float: left; - } - - h3 { - width: 100%; - margin-bottom: 5px !important; - display: block !important; - } - } } .page-header-wrapper, .page-header--new { diff --git a/client/app/assets/less/redash/query.less b/client/app/assets/less/redash/query.less index 92b24468e7..07e515be52 100644 --- a/client/app/assets/less/redash/query.less +++ b/client/app/assets/less/redash/query.less @@ -246,6 +246,17 @@ edit-in-place p.editable:hover { margin-left: 15px; margin-right: 15px; } + + .tags-control a { + opacity: 0; + transition: opacity 0.2s ease-in-out; + } + + &:hover { + .tags-control a { + opacity: 1; + } + } } a.label-tag { diff --git a/client/app/components/BigMessage.jsx b/client/app/components/BigMessage.jsx index c9ff3f0a9c..bbd4ccf9c9 100644 --- a/client/app/components/BigMessage.jsx +++ b/client/app/components/BigMessage.jsx @@ -1,8 +1,7 @@ import React from "react"; import PropTypes from "prop-types"; -import { react2angular } from "react2angular"; -export function BigMessage({ message, icon, children, className }) { +function BigMessage({ message, icon, children, className }) { return (

@@ -28,8 +27,4 @@ BigMessage.defaultProps = { className: "tiled bg-white", }; -export default function init(ngModule) { - ngModule.component("bigMessage", react2angular(BigMessage)); -} - -init.init = true; +export default BigMessage; diff --git a/client/app/components/FavoritesControl.jsx b/client/app/components/FavoritesControl.jsx index a0475b413b..60860a5c82 100644 --- a/client/app/components/FavoritesControl.jsx +++ b/client/app/components/FavoritesControl.jsx @@ -36,7 +36,10 @@ export class FavoritesControl extends React.Component { const icon = item.is_favorite ? "fa fa-star" : "fa fa-star-o"; const title = item.is_favorite ? "Remove from favorites" : "Add to favorites"; return ( - this.toggleItem(event, item, onChange)}> + this.toggleItem(event, item, onChange)}>