From f630848bef3cf2c2f7da902259cae14a3df1d82a Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Thu, 21 Dec 2017 12:44:07 -0500 Subject: [PATCH] Don't wrap enroll button text The "Leave Current/Switch/Select" Session button was sometimes wrapping its text if it wasn't given enough horizontal space. Now it should never wrap, instead stealing space from the dropdown next to it (or being bumped to a line below the dropdown). LEARNER-3668 --- lms/static/sass/views/_course-entitlements.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lms/static/sass/views/_course-entitlements.scss b/lms/static/sass/views/_course-entitlements.scss index ea3a4b1cf2..f2eded1165 100644 --- a/lms/static/sass/views/_course-entitlements.scss +++ b/lms/static/sass/views/_course-entitlements.scss @@ -27,12 +27,13 @@ height: $baseline*1.5; flex-grow: 1; letter-spacing: 0; + white-space: nowrap; background: theme-color("inverse"); border-color: theme-color("primary"); color: theme-color("primary"); text-shadow: none; font-size: $font-size-base; - padding: 0; + padding: 0 $baseline/4; box-shadow: none; border-radius: $border-radius-sm; transition: all 0.4s ease-out;