File tree Expand file tree Collapse file tree 1 file changed +13
-14
lines changed
packages/repl/src/lib/Input Expand file tree Collapse file tree 1 file changed +13
-14
lines changed Original file line number Diff line number Diff line change 153
153
{/each }
154
154
</div >
155
155
156
- <button class ="add-new" onclick ={add_new } aria-label =" add new component" title =" add new component"
156
+ <button
157
+ class =" raised add-new"
158
+ onclick ={add_new }
159
+ aria-label =" add new component"
160
+ title =" add new component"
157
161
></button >
158
162
159
163
<div class =" runes" >
166
170
.component-selector {
167
171
position : relative ;
168
172
display : flex ;
173
+ gap : 0.5rem ;
174
+ align-items : center ;
169
175
padding : 0 1rem 0 0 ;
170
176
171
177
/* fake border (allows tab borders to appear above it) */
183
189
.file-tabs {
184
190
border : none ;
185
191
margin : 0 ;
192
+ height : 100% ;
186
193
white-space : nowrap ;
187
194
overflow-x : auto ;
188
195
overflow-y : hidden ;
189
196
}
190
197
191
- .file-tabs .button ,
192
- .add-new {
198
+ .file-tabs .button {
193
199
position : relative ;
194
200
display : inline-flex ;
195
201
align-items : center ;
198
204
border : none ;
199
205
padding : 0 1rem ;
200
206
height : 100% ;
201
- aspect-ratio : 1 ;
202
- margin : 0 ;
203
- border-radius : 0 ;
204
207
cursor : pointer ;
205
208
}
206
209
207
- .add-new {
208
- background : url (./file-new.svg ) 50% 50% no-repeat ;
209
- background-size : 1em ;
210
- }
211
-
212
210
.file-tabs .button {
213
211
--padding-left : 2.6rem ;
214
212
--padding-right : 1.4rem ;
285
283
}
286
284
287
285
.add-new {
288
- padding : 12px 10px 8px 8px ;
289
- height : 40px ;
290
- text-align : center ;
286
+ height : 3.2rem ;
287
+ aspect-ratio : 1 ;
288
+ background : url (./file-new.svg ) 50% 50% no-repeat ;
289
+ background-size : 1em ;
291
290
}
292
291
293
292
.runes {
You can’t perform that action at this time.
0 commit comments