mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 05:14:54 +00:00
style: add scrollbar (#2826)
This commit is contained in:
@@ -187,14 +187,24 @@ input[type='number']::-webkit-outer-spin-button {
|
||||
-ms-overflow-style: none; /* IE 10+ */
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
display: none; /* Chrome Safari */
|
||||
width: 0; /* Chrome Safari */
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.affine-default-viewport::-webkit-scrollbar {
|
||||
width: 8px; /* Chrome Safari */
|
||||
}
|
||||
.affine-default-viewport::-webkit-scrollbar-thumb {
|
||||
border-radius: 4px;
|
||||
}
|
||||
.affine-default-viewport:hover::-webkit-scrollbar-thumb {
|
||||
background-color: var(--affine-black-30);
|
||||
}
|
||||
.editor-wrapper {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
padding: 0 2rem;
|
||||
padding: 0 1rem;
|
||||
padding-right: 8px;
|
||||
}
|
||||
|
||||
/* issue: https://github.com/toeverything/AFFiNE/issues/2004 */
|
||||
|
||||
Reference in New Issue
Block a user