浏览代码

Add demo content for RecipePage

Thibaud Colas 2 年之前
父节点
当前提交
5951953628
共有 3 个文件被更改,包括 184 次插入7 次删除
  1. 181 4
      bakerydemo/base/fixtures/bakerydemo.json
  2. 2 2
      bakerydemo/recipes/blocks.py
  3. 1 1
      bakerydemo/static/css/main.css

文件差异内容过多而无法显示
+ 181 - 4
bakerydemo/base/fixtures/bakerydemo.json


+ 2 - 2
bakerydemo/recipes/blocks.py

@@ -25,8 +25,8 @@ class RecipeStepBlock(StructBlock):
     )
 
     class Meta:
-        template = 'blocks/recipe_step_block.html'
-        icon = 'tick'
+        template = "blocks/recipe_step_block.html"
+        icon = "tick"
 
 
 class RecipeStreamBlock(StreamBlock):

+ 1 - 1
bakerydemo/static/css/main.css

@@ -406,7 +406,7 @@ blockquote .attribute-name {
 
 /* stylelint-disable-next-line selector-class-pattern */
 :is(.block-table_block, .block-typed_table_block) :is(table, tr, td, th) {
-  border: 1px solid currentColor;
+  border: 1px solid var(--dark);
   padding: 0.25em;
 }
 

部分文件因为文件数量过多而无法显示