mirror of
https://github.com/heyman/heynote.git
synced 2024-12-01 20:33:58 +01:00
Place scrollbar for Language selector and Note selector within the list instead of scrolling the whole "screen"
This commit is contained in:
parent
f11f360496
commit
03db1efd2f
@ -106,12 +106,12 @@
|
||||
|
||||
<style scoped lang="sass">
|
||||
.scroller
|
||||
overflow: auto
|
||||
position: fixed
|
||||
top: 0
|
||||
left: 0
|
||||
bottom: 0
|
||||
right: 0
|
||||
//overflow: auto
|
||||
//position: fixed
|
||||
//top: 0
|
||||
//left: 0
|
||||
//bottom: 0
|
||||
//right: 0
|
||||
.language-selector
|
||||
font-size: 13px
|
||||
padding: 10px
|
||||
@ -121,6 +121,10 @@
|
||||
top: 0
|
||||
left: 50%
|
||||
transform: translateX(-50%)
|
||||
max-height: 100%
|
||||
box-sizing: border-box
|
||||
display: flex
|
||||
flex-direction: column
|
||||
border-radius: 0 0 5px 5px
|
||||
box-shadow: 0 0 10px rgba(0,0,0,0.3)
|
||||
+dark-mode
|
||||
@ -152,6 +156,7 @@
|
||||
max-width: 100%
|
||||
|
||||
.items
|
||||
overflow-y: auto
|
||||
> li
|
||||
border-radius: 3px
|
||||
padding: 5px 12px
|
||||
|
@ -50,7 +50,7 @@
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="scroller" @keydown="onKeydown" tabindex="-1">
|
||||
<div class="fader" @keydown="onKeydown" tabindex="-1">
|
||||
<form class="new-note" tabindex="-1" @focusout="onFocusOut" ref="container" @submit="onSubmit">
|
||||
<div class="container">
|
||||
<h1>New Note from Block</h1>
|
||||
@ -73,8 +73,7 @@
|
||||
</template>
|
||||
|
||||
<style scoped lang="sass">
|
||||
.scroller
|
||||
overflow: auto
|
||||
.fader
|
||||
position: fixed
|
||||
top: 0
|
||||
left: 0
|
||||
|
@ -114,12 +114,12 @@
|
||||
|
||||
<style scoped lang="sass">
|
||||
.scroller
|
||||
overflow: auto
|
||||
position: fixed
|
||||
top: 0
|
||||
left: 0
|
||||
bottom: 0
|
||||
right: 0
|
||||
//overflow: auto
|
||||
//position: fixed
|
||||
//top: 0
|
||||
//left: 0
|
||||
//bottom: 0
|
||||
//right: 0
|
||||
.note-selector
|
||||
font-size: 13px
|
||||
padding: 10px
|
||||
@ -129,6 +129,10 @@
|
||||
top: 0
|
||||
left: 50%
|
||||
transform: translateX(-50%)
|
||||
max-height: 100%
|
||||
box-sizing: border-box
|
||||
display: flex
|
||||
flex-direction: column
|
||||
border-radius: 0 0 5px 5px
|
||||
box-shadow: 0 0 10px rgba(0,0,0,0.3)
|
||||
+dark-mode
|
||||
@ -160,6 +164,7 @@
|
||||
max-width: 100%
|
||||
|
||||
.items
|
||||
overflow-y: auto
|
||||
> li
|
||||
border-radius: 3px
|
||||
padding: 5px 12px
|
||||
|
Loading…
Reference in New Issue
Block a user