From 362c07218180fedce5934e9bea93d13ddbfc3a42 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Mon, 10 Jul 2017 16:54:55 +0700 Subject: [PATCH] If only one tab left make it not clickable --- client/coral-ui/components/Tab.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/coral-ui/components/Tab.css b/client/coral-ui/components/Tab.css index d1ef5ea9c..b5bf2463c 100644 --- a/client/coral-ui/components/Tab.css +++ b/client/coral-ui/components/Tab.css @@ -62,3 +62,8 @@ margin-bottom: 0px; } +.root:only-child .button, .rootSub:only-child .buttonSub { + cursor: default; + pointer-events: none; +} +