Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/block_scout_web/assets/css/_code.scss

46 lines
723 B

@use 'sass:math';
pre {
white-space: pre-wrap;
}
.pre-wrap code {
white-space: pre-wrap;
}
.pre-decompiled code {
white-space: pre-wrap;
counter-increment: line;
}
.pre-decompiled code::before {
content: counter(line);
display: inline-block;
width: 3em;
border-right: 1px solid #ddd;
padding: 0 .5em;
margin-right: .5em;
color: #888;
-webkit-user-select: none;
}
.pre-scrollable-shorty {
max-height: math.div($pre-scrollable-max-height, 7);
}
.tile pre {
margin-bottom: 0;
}
.contract-code-container {
@include media-breakpoint-down(md) {
flex-direction: column;
}
& .buttons {
@include media-breakpoint-down(md) {
width: 100%;
margin-bottom: 10px;
}
}
}