oncall-engine/grafana-plugin/src/components/SourceCode/SourceCode.module.scss
Rares Mardare 18adabd9ed linter
2022-09-14 15:42:14 +03:00

30 lines
No EOL
387 B
SCSS

.root {
position: relative;
width: 100%;
&:hover .copyButton,
&:hover .copyIcon {
opacity: 1;
}
}
.scroller {
overflow-y: auto;
border-radius: 2px;
padding: 12px 60px 12px 20px;
&--maxHeight {
max-height: 400px;
}
}
.copyIcon,
.copyButton {
position: absolute;
top: 15px;
right: 15px;
transition: opacity 0.2s ease;
}
.copyButton {
opacity: 0;
}