From d5d4a33d6c5595b166112755a65e0bbf547633b9 Mon Sep 17 00:00:00 2001 From: Wesley Bomar Date: Tue, 12 Jul 2022 09:41:29 -0500 Subject: [PATCH] fix(core-styles): fp-1499/tup-308 site button css This is needed for buttons to appear right on CMS. Source: https://github.com/TACC/Core-CMS/pull/498 --- package-lock.json | 4 ++-- .../site_cms/css/src/_imports/components/c-button.css | 7 +++++++ taccsite_cms/static/site_cms/css/src/site.css | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 taccsite_cms/static/site_cms/css/src/_imports/components/c-button.css diff --git a/package-lock.json b/package-lock.json index 8d692fb1a..04556c5a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -261,7 +261,7 @@ "node_modules/@tacc/core-styles": { "version": "0.6.0", "resolved": "https://gitpkg.now.sh/TACC/tup-ui/libs/core-styles?task/fp-1499-cms-pattern-library", - "integrity": "sha512-V+oC0AwQfcV/6UqUR4OXCeZhpGMQWzyXZbstmkO9sLrzA1HAU0rXe3UvyOlAhhzjKdA8MVL3k49PkF8tzapc2Q==", + "integrity": "sha512-Ld3AkGGxmh/aYAvNmItq09pAGeTRIS4xk5FWDFkNTN2mHgrNf/uGf21cP4UF7/mamsoWqNy1ieFGH5BRFkflbg==", "dev": true, "license": "MIT", "dependencies": { @@ -10193,7 +10193,7 @@ }, "@tacc/core-styles": { "version": "https://gitpkg.now.sh/TACC/tup-ui/libs/core-styles?task/fp-1499-cms-pattern-library", - "integrity": "sha512-V+oC0AwQfcV/6UqUR4OXCeZhpGMQWzyXZbstmkO9sLrzA1HAU0rXe3UvyOlAhhzjKdA8MVL3k49PkF8tzapc2Q==", + "integrity": "sha512-Ld3AkGGxmh/aYAvNmItq09pAGeTRIS4xk5FWDFkNTN2mHgrNf/uGf21cP4UF7/mamsoWqNy1ieFGH5BRFkflbg==", "dev": true, "requires": { "commander": "^9.0.0", diff --git a/taccsite_cms/static/site_cms/css/src/_imports/components/c-button.css b/taccsite_cms/static/site_cms/css/src/_imports/components/c-button.css new file mode 100644 index 000000000..f33d150ff --- /dev/null +++ b/taccsite_cms/static/site_cms/css/src/_imports/components/c-button.css @@ -0,0 +1,7 @@ +@import url("@tacc/core-styles/src/lib/_imports/components/c-button.css"); + +.c-button { + --max-width: unset; + + font-size: 1.6rem; +} diff --git a/taccsite_cms/static/site_cms/css/src/site.css b/taccsite_cms/static/site_cms/css/src/site.css index ed6942229..765c40533 100644 --- a/taccsite_cms/static/site_cms/css/src/site.css +++ b/taccsite_cms/static/site_cms/css/src/site.css @@ -36,6 +36,7 @@ @import url("_imports/components/bootstrap.container.css"); @import url("_imports/components/bootstrap.figure.css"); /* Unique to CMS */ +@import url("./_imports/components/c-button.css"); @import url("./_imports/components/django.cms.css"); @import url("./_imports/components/django.cms.blog.css"); @import url("./_imports/components/django.cms.post.css");