From f1d2abcd77c66401d387ca25257b53eff934840c Mon Sep 17 00:00:00 2001 From: Martin Wortschack Date: Tue, 23 Jul 2019 09:43:41 +0200 Subject: Add horizontal list styles --- app/assets/stylesheets/framework/lists.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/app/assets/stylesheets/framework/lists.scss b/app/assets/stylesheets/framework/lists.scss index 460d9ea9526..ecd32dcd0ce 100644 --- a/app/assets/stylesheets/framework/lists.scss +++ b/app/assets/stylesheets/framework/lists.scss @@ -285,3 +285,19 @@ ul.indent-list { max-width: 350px; } } + +.horizontal-list { + padding-left: 0; + list-style: none; + + > li { + float: left; + } + + &.list-items-separated { + > li:not(:last-child)::after { + content: '\00b7'; + margin: 0 $gl-padding-4; + } + } +} -- cgit v1.2.1