File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 173173
174174
175175 .wiki pre {
176- @apply bg-background-secondary border border-border-default text-xs mr-2 mb-4 ml-4 p-4 rounded-lg overflow-x-auto overflow-y-hidden
176+ overflow-x : auto ;
177+ overflow-y : hidden ;
178+ background-color : var (--bg-secondary );
179+ border : 1px solid var (--border-default );
180+ font-size : var (--txt-xs );
181+ line-height : 1rem ;
182+ margin-bottom : 1rem ;
183+ padding : 16px ;
184+ border-radius : var (--bd-radius-lg );
177185 }
178186
179187 .wiki .pre-wrapper {
180188 position : relative ;
181189 }
182190
191+ .wiki .pre-wrapper pre {
192+ width : 100% ;
193+ }
194+
183195 .pre-wrapper .copy-pre-content-link {
184196 position : absolute ;
185- top : 3 px ;
186- right : calc ( 1 em + 3 px ) ;
197+ top : 8 px ;
198+ right : 8 px ;
187199 cursor : pointer ;
188200 display : none ;
189201 border-radius : 3px ;
192204 padding : 0px 3px 3px 3px ;
193205 }
194206
207+ // 説明欄だけtop指定がずれるので特別対応
208+ .description .pre-wrapper .copy-pre-content-link {
209+ top : 16px ;
210+ }
211+
195212 .pre-wrapper .copy-pre-content-link.icon-only {
196213 display : none ;
197214 }
You can’t perform that action at this time.
0 commit comments