From afd42f2244c97c834291104c143bf28d3b7baf29 Mon Sep 17 00:00:00 2001 From: simurai Date: Tue, 14 Apr 2020 13:34:28 +0900 Subject: [PATCH] Renamve withoutBorders to borderless --- docs/content/components/select-menu.md | 8 ++++---- src/select-menu/select-menu.scss | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/components/select-menu.md b/docs/content/components/select-menu.md index 9e0f8b66..7b684e7d 100644 --- a/docs/content/components/select-menu.md +++ b/docs/content/components/select-menu.md @@ -107,7 +107,7 @@ If the `SelectMenu` should show a check icon for selected items, use the `Select ## Borderless -Use the `.SelectMenu-list--withoutBorders` modifier to remove the borders between list items. Note: It's better to keep the borders if a list contains items with multiple lines of text. It will make it easier to see where the items start and end. +Use the `.SelectMenu-list--borderless` modifier to remove the borders between list items. Note: It's better to keep the borders if a list contains items with multiple lines of text. It will make it easier to see where the items start and end. ```html live
@@ -116,7 +116,7 @@ Use the `.SelectMenu-list--withoutBorders` modifier to remove the borders betwee
-
+
@@ -265,7 +265,7 @@ The Select Menu's list can be divided into multiple parts by adding a `.SelectMe
``` -Dividers are also supported when using the `.SelectMenu-list--withoutBorders` modifier. +Dividers are also supported when using the `.SelectMenu-list--borderless` modifier. ```html live
@@ -281,7 +281,7 @@ Dividers are also supported when using the `.SelectMenu-list--withoutBorders` mo -
+
More options
diff --git a/src/select-menu/select-menu.scss b/src/select-menu/select-menu.scss index 040caf96..70492b56 100644 --- a/src/select-menu/select-menu.scss +++ b/src/select-menu/select-menu.scss @@ -203,7 +203,7 @@ $SelectMenu-max-height: 480px !default; } // Borderless - .SelectMenu-list--withoutBorders & { + .SelectMenu-list--borderless & { border-bottom: 0; } } @@ -321,7 +321,7 @@ $SelectMenu-max-height: 480px !default; border-bottom: $border-width $border-style $border-gray-light; // Borderless - .SelectMenu-list--withoutBorders & { + .SelectMenu-list--borderless & { border-top: $border-width $border-style $border-gray-light; &:empty {