Commit f24961ad authored by Nikolay Gromov's avatar Nikolay Gromov

fix block code

parent 8f7c169c
...@@ -2,17 +2,21 @@ ...@@ -2,17 +2,21 @@
// модификаторов, псевдоселекторов, псевдоэлементов, @media-условий... // модификаторов, псевдоселекторов, псевдоэлементов, @media-условий...
// Не пишите здесь другие селекторы. // Не пишите здесь другие селекторы.
$gray-lighter: hsl(0, 0%, 80%) !default;
$gray-lightest: hsl(0, 0%, 90%) !default;
$border-radius 3px !default;
.code { .code {
display: block; display: block;
width: 100%; width: 100%;
max-height: 50rem;
overflow-x: auto; overflow-x: auto;
background-color: $gray-lightest;
padding: 1em; padding: 1em;
background-color: $gray-lightest;
border-radius: $border-radius; border-radius: $border-radius;
border: 1px solid $gray-lighter; border: 1px solid $gray-lighter;
white-space: normal; white-space: normal;
tab-size: 2; tab-size: 2;
max-height: 50rem;
code { code {
display: block; display: block;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment