There was an error while loading. Please reload this page.
1 parent 5804b90 commit af34eeeCopy full SHA for af34eee
1 file changed
generic_assets/css/core-cms-fixes.css
@@ -14,5 +14,15 @@
14
line-height: unset;
15
}
16
17
+/* TODO: Integrate into Core-CMS */
18
+/* to not show empty block when editing */
19
+/* https://github.com/TACC/Core-CMS/blob/v4.40.0-rc1/taccsite_cms/static/site_cms/css/src/_imports/tools/x-news.css#L381-L384 */
20
+/* https://github.com/TACC/Core-CMS/blob/v4.40.0-rc1/taccsite_cms/static/site_cms/css/src/_imports/components/django.cms.blog.app.page.css#L82-L83 */
21
+.blog-visual {
22
+ &:has(.cms-placeholder:first-child:empty) {
23
+ display: none;
24
+ }
25
+}
26
+
27
/* TODO: Delete this after Core-CMS uses Core-Styles v2.57 */
28
@import url("https://cdn.jsdelivr.net/gh/TACC/Core-Styles@v2.57.0-rc1/dist/bootstrap4/content/typography-headings/typography-headings--cms.css");
0 commit comments