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 153153 {/each }
154154 </div >
155155
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"
157161 ></button >
158162
159163 <div class =" runes" >
166170 .component-selector {
167171 position : relative ;
168172 display : flex ;
173+ gap : 0.5rem ;
174+ align-items : center ;
169175 padding : 0 1rem 0 0 ;
170176
171177 /* fake border (allows tab borders to appear above it) */
183189 .file-tabs {
184190 border : none ;
185191 margin : 0 ;
192+ height : 100% ;
186193 white-space : nowrap ;
187194 overflow-x : auto ;
188195 overflow-y : hidden ;
189196 }
190197
191- .file-tabs .button ,
192- .add-new {
198+ .file-tabs .button {
193199 position : relative ;
194200 display : inline-flex ;
195201 align-items : center ;
198204 border : none ;
199205 padding : 0 1rem ;
200206 height : 100% ;
201- aspect-ratio : 1 ;
202- margin : 0 ;
203- border-radius : 0 ;
204207 cursor : pointer ;
205208 }
206209
207- .add-new {
208- background : url (./file-new.svg ) 50% 50% no-repeat ;
209- background-size : 1em ;
210- }
211-
212210 .file-tabs .button {
213211 --padding-left : 2.6rem ;
214212 --padding-right : 1.4rem ;
285283 }
286284
287285 .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 ;
291290 }
292291
293292 .runes {
You can’t perform that action at this time.
0 commit comments