mirror of
https://github.com/ae-utbm/sith.git
synced 2024-11-22 22:23:23 +00:00
pedagogy: don't make the anchor scroll with comment text
This commit is contained in:
parent
e6e500e2f9
commit
1d319e90f0
@ -1952,7 +1952,11 @@ $pedagogy-white-text: #f0f0f0;
|
|||||||
|
|
||||||
.comment {
|
.comment {
|
||||||
grid-area: comment;
|
grid-area: comment;
|
||||||
overflow: scroll;
|
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: auto;
|
||||||
|
grid-template-rows: auto auto;
|
||||||
|
grid-template-areas: "anchor" "markdown";
|
||||||
|
|
||||||
@media screen and (max-width: $large-devices){
|
@media screen and (max-width: $large-devices){
|
||||||
border-left: solid;
|
border-left: solid;
|
||||||
@ -1961,15 +1965,18 @@ $pedagogy-white-text: #f0f0f0;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.anchor {
|
.anchor {
|
||||||
float: right;
|
grid-area: anchor;
|
||||||
|
text-align: right;
|
||||||
|
margin-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.markdown {
|
.markdown {
|
||||||
|
grid-area: markdown;
|
||||||
|
overflow: scroll;
|
||||||
margin-top: 0px;
|
margin-top: 0px;
|
||||||
margin-right: 0px;
|
margin-right: 0px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
overflow: auto;
|
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user