mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
LSformElement :: pre: make CSS responsive
This commit is contained in:
parent
f16dd52aaa
commit
61f492faf7
1 changed files with 17 additions and 0 deletions
|
@ -8,3 +8,20 @@ textarea.LSformElement_pre {
|
|||
height: 20em;
|
||||
width: 38.5em;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
textarea.LSformElement_pre {
|
||||
width: 40vw;
|
||||
|
||||
}
|
||||
p.LSformElement_pre {
|
||||
width: 60vw;
|
||||
overflow: scroll;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
p.LSformElement_pre, textarea.LSformElement_pre {
|
||||
width: calc(100% - 1em);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue