haepada commited on
Commit
96fda69
·
verified ·
1 Parent(s): e23cc7f

Update styles/custom.css

Browse files
Files changed (1) hide show
  1. styles/custom.css +20 -1
styles/custom.css CHANGED
@@ -10,6 +10,8 @@ body {
10
  padding: 0.5rem;
11
  background-color: #f5f7ff;
12
  transition: all 0.3s ease;
 
 
13
  }
14
 
15
  #object_image_uploader:hover {
@@ -29,12 +31,29 @@ body {
29
 
30
  #object_image_uploader img {
31
  object-fit: contain !important;
32
- max-height: 300px;
33
  width: auto;
34
  margin: 0 auto;
35
  display: block;
36
  }
37
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  /* 제목 스타일 */
39
  h1 {
40
  font-weight: 700;
 
10
  padding: 0.5rem;
11
  background-color: #f5f7ff;
12
  transition: all 0.3s ease;
13
+ margin-bottom: 1rem;
14
+ position: relative;
15
  }
16
 
17
  #object_image_uploader:hover {
 
31
 
32
  #object_image_uploader img {
33
  object-fit: contain !important;
34
+ max-height: 280px;
35
  width: auto;
36
  margin: 0 auto;
37
  display: block;
38
  }
39
 
40
+ #object_image_uploader .svelte-1p4r00y {
41
+ padding-top: 1.5rem;
42
+ }
43
+
44
+ /* 업로드 이미지와 라벨 간격 조정 */
45
+ .block.padded:has(#object_image_uploader) {
46
+ position: relative;
47
+ padding-top: 2rem;
48
+ }
49
+
50
+ .block.padded:has(#object_image_uploader) .block-label {
51
+ position: absolute;
52
+ top: 0;
53
+ left: 0;
54
+ z-index: 10;
55
+ }
56
+
57
  /* 제목 스타일 */
58
  h1 {
59
  font-weight: 700;