File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 71
71
/* outline: 2px solid red; */
72
72
}
73
73
summary {
74
- margin-top : 10px ;
74
+ margin : 10px 0 px ;
75
75
padding : 2px ;
76
76
border-radius : 5px ;
77
77
background-color : #ffffff ;
78
78
}
79
+ details {
80
+ padding : 0 ;
81
+ background : transparent ;
82
+ }
79
83
li {
80
84
list-style-type : none ;
81
85
}
Original file line number Diff line number Diff line change 19
19
id ="tab-01- {data .name }: {data .type }"
20
20
checked ={true }
21
21
/>
22
- <label for ="tab-01- {data .name }: {data .type }" >Tab 1 </label >
22
+ <label for ="tab-01- {data .name }: {data .type }" >Editor </label >
23
23
<div class =" tab-content" >
24
24
<fieldset >
25
25
<legend >Question Title</legend >
41
41
</div >
42
42
43
43
<input type ="radio" name ="tabs- {data .name }: {data .type }" id ="tab-02- {data .name }: {data .type }" />
44
- <label for ="tab-02- {data .name }: {data .type }" >Tab 2 </label >
44
+ <label for ="tab-02- {data .name }: {data .type }" >Preview </label >
45
45
<div class =" tab-content" >
46
46
<slot name =" preview" />
47
47
</div >
91
91
--primary-text-color : #222 ;
92
92
--secondary-text-color : #fff ;
93
93
--primary-bg-color : #222 ;
94
- --secondary-bg-color : #fff ;
94
+ --secondary-bg-color : #88cdd8 ;
95
95
--tertiary-bg-color : #ddd ;
96
96
}
97
97
121
121
padding : 1rem 2rem ;
122
122
transition : background ease 0.3s ;
123
123
width : 100% ;
124
+ transform : translateX (10% );
124
125
}
125
126
126
127
.tabs .tab-content {
127
- background : var (--secondary-bg-color );
128
128
display : none ;
129
129
flex-grow : 1 ;
130
- padding : 1rem ;
131
130
width : 100% ;
132
131
}
133
132
You can’t perform that action at this time.
0 commit comments