From 3d59cf996fa4e03874865236d172554b67d7ebd2 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 28 Jan 2019 10:24:18 -0700 Subject: [PATCH] Icon for flair tab --- res/css/structures/_TabbedView.scss | 3 ++- res/css/views/dialogs/_UserSettingsDialog.scss | 3 +-- res/img/feather-icons/flair.svg | 6 ++++++ 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 res/img/feather-icons/flair.svg diff --git a/res/css/structures/_TabbedView.scss b/res/css/structures/_TabbedView.scss index 1118ac7aea..72bbbeff22 100644 --- a/res/css/structures/_TabbedView.scss +++ b/res/css/structures/_TabbedView.scss @@ -55,6 +55,7 @@ limitations under the License. .mx_TabbedView_maskedIcon {; margin-left: 6px; margin-right: 9px; + margin-top: 1px; width: 14px; height: 14px; display: inline-block; @@ -66,7 +67,7 @@ limitations under the License. mask-repeat: no-repeat; mask-size: 14px; width: 14px; - height: 15px; + height: 18px; mask-position: center; content: ''; vertical-align: middle; diff --git a/res/css/views/dialogs/_UserSettingsDialog.scss b/res/css/views/dialogs/_UserSettingsDialog.scss index 6872149318..c29c04a273 100644 --- a/res/css/views/dialogs/_UserSettingsDialog.scss +++ b/res/css/views/dialogs/_UserSettingsDialog.scss @@ -46,6 +46,5 @@ limitations under the License. } .mx_UserSettingsDialog_flairIcon:before { - // TODO: Use the real icon - mask-image: url('$(res)/img/feather-icons/flag.svg'); + mask-image: url('$(res)/img/feather-icons/flair.svg'); } diff --git a/res/img/feather-icons/flair.svg b/res/img/feather-icons/flair.svg new file mode 100644 index 0000000000..ce3a5ed6ad --- /dev/null +++ b/res/img/feather-icons/flair.svg @@ -0,0 +1,6 @@ + + + + + +