]> cat aescling's git repositories - mastodon.git/commitdiff
add keyboard shortcut to getting started, add missing list style
authorcwm <chriswmartin@protonmail.com>
Sat, 9 Dec 2017 02:30:45 +0000 (20:30 -0600)
committercwm <chriswmartin@protonmail.com>
Sat, 9 Dec 2017 02:30:45 +0000 (20:30 -0600)
app/javascript/flavours/glitch/features/getting_started/index.js
app/javascript/flavours/glitch/styles/components/index.scss

index 469fc2aa717265d475afcd9c247b475df29736a7..5307e583fe27265f707a5f675848539fb8a36367 100644 (file)
@@ -30,6 +30,7 @@ const messages = defineMessages({
   show_me_around: { id: 'getting_started.onboarding', defaultMessage: 'Show me around' },
   pins: { id: 'navigation_bar.pins', defaultMessage: 'Pinned toots' },
   lists: { id: 'navigation_bar.lists', defaultMessage: 'Lists' },
+  keyboard_shortcuts: { id: 'navigation_bar.keyboard_shortcuts', defaultMessage: 'Keyboard shortcuts' },
 });
 
 const mapStateToProps = state => ({
@@ -88,7 +89,7 @@ export default class GettingStarted extends ImmutablePureComponent {
     navItems = navItems.concat([
       <ColumnLink key='5' icon='star' text={intl.formatMessage(messages.favourites)} to='/favourites' />,
       <ColumnLink key='6' icon='thumb-tack' text={intl.formatMessage(messages.pins)} to='/pinned' />,
-      <ColumnLink key='9' icon='bars' text={intl.formatMessage(messages.lists)} to='/lists' />,
+      <ColumnLink key='11' icon='bars' text={intl.formatMessage(messages.lists)} to='/lists' />,
     ]);
 
     if (myAccount.get('locked')) {
index 147690562bd55e1283b6996f394e587775538f79..db51b164d63b8969ce30049d59fef8ed6b1824c6 100644 (file)
@@ -2542,6 +2542,10 @@ button.icon-button.active i.fa-retweet {
   margin-left: 0;
 }
 
+.column-header__links .text-btn {
+  margin-right: 10px;
+}
+
 .column-header__button {
   background: lighten($ui-base-color, 4%);
   border: 0;
@@ -2664,6 +2668,14 @@ button.icon-button.active i.fa-retweet {
     overflow-y: hidden;
   }
 
+  hr {
+    height: 0;
+    background: transparent;
+    border: 0;
+    border-top: 1px solid lighten($ui-base-color, 12%);
+    margin: 10px 0;
+  }
+
   // notif cleaning drawer
   &.ncd {
     transition: none;