소스 검색

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;
 }
 

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.