diff --git a/assets/javascripts/views/layout/mobile.coffee b/assets/javascripts/views/layout/mobile.coffee index 8706eae6..041f8c48 100644 --- a/assets/javascripts/views/layout/mobile.coffee +++ b/assets/javascripts/views/layout/mobile.coffee @@ -49,11 +49,11 @@ class app.views.Mobile extends app.View @forward.removeAttribute('hidden') $.on @forward, 'click', @onClickForward - @docPickerTab = $('a[data-tab="doc-picker"]') + @docPickerTab = $('button[data-tab="doc-picker"]') @docPickerTab.removeAttribute('hidden') $.on @docPickerTab, 'click', @onClickDocPickerTab - @settingsTab = $('a[data-tab="settings"]') + @settingsTab = $('button[data-tab="settings"]') @settingsTab.removeAttribute('hidden') $.on @settingsTab, 'click', @onClickSettingsTab diff --git a/assets/stylesheets/components/_content.scss b/assets/stylesheets/components/_content.scss index bc83f175..9fd6dae8 100644 --- a/assets/stylesheets/components/_content.scss +++ b/assets/stylesheets/components/_content.scss @@ -406,7 +406,6 @@ line-height: inherit; color: $linkColor; text-decoration: $linkTextDecoration; - cursor: pointer; &:hover { color: $linkColorHover; diff --git a/assets/stylesheets/components/_settings.scss b/assets/stylesheets/components/_settings.scss index 3fc1cb6b..d7fcb6ce 100644 --- a/assets/stylesheets/components/_settings.scss +++ b/assets/stylesheets/components/_settings.scss @@ -123,25 +123,18 @@ ._settings-tabs { display: none; // mobile only margin-right: .5rem; - line-height: $headerHeight; } ._settings-tab { position: relative; - display: inline-block; vertical-align: top; padding: 0 .75rem; - cursor: pointer; - - &, &:hover { - color: $textColorLight; - text-decoration: none; - } + line-height: $headerHeight; + color: $textColorLight; &.active { color: $textColor; font-weight: $boldFontWeight; - text-decoration: none; box-shadow: inset 0 -2px $linkColor; } } diff --git a/views/app.erb b/views/app.erb index 1836046e..534d7023 100644 --- a/views/app.erb +++ b/views/app.erb @@ -44,7 +44,7 @@ Back