diff --git a/services/web/frontend/js/features/project-list/components/survey-widget.tsx b/services/web/frontend/js/features/project-list/components/survey-widget.tsx
index ee5e9129ca..3d160620a9 100644
--- a/services/web/frontend/js/features/project-list/components/survey-widget.tsx
+++ b/services/web/frontend/js/features/project-list/components/survey-widget.tsx
@@ -19,24 +19,26 @@ export default function SurveyWidget() {
}
return (
-
+
+ >
)
}
diff --git a/services/web/frontend/stylesheets/app/project-list-react.less b/services/web/frontend/stylesheets/app/project-list-react.less
index 45882ab68b..6ee83b6242 100644
--- a/services/web/frontend/stylesheets/app/project-list-react.less
+++ b/services/web/frontend/stylesheets/app/project-list-react.less
@@ -50,6 +50,7 @@
padding-top: @content-margin-vertical;
padding-bottom: @content-margin-vertical;
color: @sidebar-color;
+
.small {
color: @sidebar-color;
}
@@ -710,6 +711,43 @@
.project-list-sidebar-survey-subwrapper {
flex: @project-list-sidebar-wrapper-flex;
+
+ @media (max-width: @screen-xs-max) {
+ line-height: @mobile-action-element-height;
+ }
+ }
+
+ .project-list-sidebar-survey-dismiss {
+ position: relative;
+ z-index: 1;
+ float: right;
+ }
+
+ @media (max-width: @screen-xs-max) {
+ position: static;
+ display: block;
+ margin-top: @margin-sm;
+
+ .project-list-sidebar-survey {
+ font-size: unset;
+
+ &:before {
+ display: none;
+ }
+
+ .project-list-sidebar-survey-link {
+ display: inline-flex;
+ align-items: center;
+ min-width: @mobile-action-element-width;
+ min-height: @mobile-action-element-height;
+ }
+ }
+
+ .project-list-sidebar-survey-dismiss {
+ width: @mobile-action-element-width;
+ height: @mobile-action-element-height;
+ border: 0;
+ }
}
}
diff --git a/services/web/frontend/stylesheets/core/variables.less b/services/web/frontend/stylesheets/core/variables.less
index 15aab5ea35..e61242ec83 100644
--- a/services/web/frontend/stylesheets/core/variables.less
+++ b/services/web/frontend/stylesheets/core/variables.less
@@ -1136,3 +1136,6 @@
// Editor fonts
@editor-font-lucida: 'Lucida Console', 'Source Code Pro', monospace;
@editor-font-monaco: Monaco, Menlo, 'Ubuntu Mono', 'Consolas', monospace;
+
+@mobile-action-element-width: 48px;
+@mobile-action-element-height: @mobile-action-element-width;