Merge pull request #10114 from overleaf/jel-dash-survey-container

[web] Fix desktop dash survey container click behavior

GitOrigin-RevId: 9e94ee572e348fca1f950698dd5a7449195a52da
This commit is contained in:
Jessica Lawshe 2022-10-24 08:55:56 -05:00 committed by Copybot
parent c110e21abf
commit 58ba814cd1
2 changed files with 4 additions and 13 deletions

View file

@ -95,10 +95,8 @@ function ProjectListPageContent() {
</Col>
</Row>
<div className="project-list-sidebar-survey-wrapper">
<div className="project-list-sidebar-survey-subwrapper">
<SurveyWidget />
</div>
</div>
<div className="visible-xs mt-1">
<div role="toolbar" className="projects-toolbar">
<ProjectsDropdown />

View file

@ -703,19 +703,10 @@
}
.project-list-sidebar-survey-wrapper {
display: flex;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
.project-list-sidebar-survey-subwrapper {
flex: @project-list-sidebar-wrapper-flex;
@media (max-width: @screen-xs-max) {
line-height: @mobile-action-element-height;
}
}
width: 15%;
.project-list-sidebar-survey-dismiss {
position: relative;
@ -724,9 +715,11 @@
}
@media (max-width: @screen-xs-max) {
line-height: @mobile-action-element-height;
position: static;
display: block;
margin-top: @margin-sm;
width: initial;
.project-list-sidebar-survey {
font-size: unset;