.container { border-radius: 4px; background: white; padding: 15px; display: flex; flex-direction: column; grid-gap: 0px; } .filesPageContainer { width: 100%; display: grid; grid-template-columns: 0.75fr 1.5fr 0.75fr; grid-gap: 30px; flex-grow: 1; } ul { list-style-type: none; /* Removes bullet points */ margin: 0; /* Removes default margin */ padding: 0; /* Removes default padding */ } .wrap { display: flex; flex-direction: column; grid-gap: 15px; } .files { display: flex; flex-direction: column; width: 100%; grid-gap: 15px; max-height: 350px; overflow: auto; padding: 0 5px 0 0; margin: 0 -5px 0 0; } .files::-webkit-scrollbar { width: 10px; } .files::-webkit-scrollbar-track { background-color: rgba(0,0,0,0.15); } .files::-webkit-scrollbar-thumb { max-width: 10px; border-radius: 2px; background-color: #4c82a3; cursor: grab; } .fileItem { transition: ease 0.2s; display: flex; flex-direction: row; grid-gap: 10px; border-radius: 4px; overflow: hidden; background: #ffffff; padding: 5px 10px; align-items: center; color: rgba(0,0,0,0.5); cursor: pointer; flex-grow: 1; font-size: 16px; font-weight: 500; &.active { background: #4c82a3; color: white; } } .fileItem:hover { transition: ease 0.2s; background: #4c82a3; color: white; } .fileName { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; -webkit-line-clamp: 1; } .fileNumber { font-size: 14px; font-weight: 500; display: flex; flex-direction: column; justify-content: center; align-items: center; }