Skip to content

Commit 767984f

Browse files
authored
Merge pull request #470 from ioet/461-cutted-off-text-in-technologies
fix: 💄 add scroll-snap in technologies component closes #461
2 parents d7d252f + 6212554 commit 767984f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/app/modules/shared/components/technologies/technologies.component.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@
33
.technologies-dropdown-container {
44
box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
55
margin: 0 0 2rem 6rem;
6-
max-height: 7.5rem;
6+
max-height: 8.5rem;
77
overflow-y: auto;
8+
scroll-snap-type: y mandatory;
89

910
.technologies-dropdown-item {
1011
cursor: pointer;
1112
font-size: 0.8rem;
1213
margin-bottom: 0.1rem;
1314
padding: 0.2rem 0.5rem;
15+
scroll-snap-align: start;
1416

1517
&:hover {
1618
opacity: 0.7;

0 commit comments

Comments
 (0)