Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix time menu click area #4125

Merged
merged 10 commits into from
Nov 18, 2024
Original file line number Diff line number Diff line change
@@ -1,23 +1,43 @@
@import 'src/assets/styles/variables.scss';

.structure-level-list {
display: flex;
flex-wrap: wrap;
$auto-sizing: auto-fill;
$column-min-width: 186px;

justify-content: start;
padding: 8px 25px 0 25px;
display: grid;
column-gap: 16px;
grid-template-columns: repeat($auto-sizing, minmax($column-min-width, max-content));

@media (max-width: 1383px) {
$auto-sizing: auto-fit;
}

@include phone {
$column-min-width: 159px;
padding: 0;
margin-right: -20px;
column-gap: 5px;
}

.structure-level {
min-width: 33%;
margin-bottom: 16px;
display: flex;
flex-direction: row;
justify-content: end;
width: min(222px, 100%);

.structure-level-content {
width: 100%;
@include phone {
width: min(186px, 100%);
}

.structure-level-content {
.structure-level-color {
height: 3px;
background-color: transparent;
margin-left: 10%;
width: calc(100% - margin-left);
margin-right: 0;
width: 111px;
border-width: 0;
border-radius: 7px;
}
Expand All @@ -32,11 +52,11 @@
.structure-level-name {
line-height: 1;
text-align: right;
word-break: break-word;
}
}

.icon-less-space-to-left {
width: 25px;
margin-top: 12px;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,9 @@
max-width: 1320px;
}
}
@media (min-width: 1050px) and (max-width: 1440px) {
.col-right {
max-width: 304px;
}
}
}