summaryrefslogtreecommitdiffstats
path: root/web_src/less/_user.less
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/less/_user.less')
-rw-r--r--web_src/less/_user.less10
1 files changed, 6 insertions, 4 deletions
diff --git a/web_src/less/_user.less b/web_src/less/_user.less
index 9fa319deb6..47095dd2af 100644
--- a/web_src/less/_user.less
+++ b/web_src/less/_user.less
@@ -1,3 +1,5 @@
+@import "variables.less";
+
.user {
&:not(.icon) {
padding-top: 15px;
@@ -51,18 +53,18 @@
img {
width: 100%;
}
- @media only screen and (max-width: 768px) {
+ @media @mediaSm {
height: 250px;
overflow: hidden;
img {
- max-height: 768px;
- max-width: 768px;
+ max-height: 767px;
+ max-width: 767px;
}
}
}
- @media only screen and (max-width: 768px) {
+ @media @mediaSm {
width: 100%;
}
}