mirror of
https://github.com/BoostIo/Boostnote
synced 2026-01-27 23:57:17 +00:00
update NoteDetail design
This commit is contained in:
@@ -140,20 +140,6 @@ class NoteDetail extends React.Component {
|
||||
key={index}
|
||||
style={{zIndex: isActive ? 5 : 4}}
|
||||
>
|
||||
<div styleName='tabView-top'>
|
||||
<input styleName='tabView-top-name'
|
||||
placeholder='Filename including extensions...'
|
||||
value={snippet.name}
|
||||
readOnly
|
||||
/>
|
||||
<button styleName='tabView-top-mode'
|
||||
>
|
||||
{snippet.mode == null
|
||||
? 'Not selected'
|
||||
: syntax.name
|
||||
}
|
||||
</button>
|
||||
</div>
|
||||
{snippet.mode === 'markdown'
|
||||
? <MarkdownEditor styleName='tabView-content'
|
||||
config={config}
|
||||
|
||||
@@ -60,31 +60,13 @@
|
||||
.tabList-plusButton
|
||||
navButtonColor()
|
||||
width 30px
|
||||
|
||||
.tabView
|
||||
absolute left right bottom
|
||||
top 110px
|
||||
.tabView-top
|
||||
absolute top left right
|
||||
height 30px
|
||||
border-bottom $ui-border
|
||||
display flex
|
||||
box-sizing border-box
|
||||
.tabView-top-name
|
||||
flex 1
|
||||
border none
|
||||
padding 0 10px
|
||||
font-size 14px
|
||||
.tabView-top-mode
|
||||
width 110px
|
||||
padding 0
|
||||
border none
|
||||
border-left $ui-border
|
||||
colorDefaultButton()
|
||||
color $ui-inactive-text-color
|
||||
pointer-events none
|
||||
|
||||
.tabView-content
|
||||
absolute left right bottom
|
||||
top 30px
|
||||
absolute top left right bottom
|
||||
box-sizing border-box
|
||||
height 100%
|
||||
width 100%
|
||||
|
||||
@@ -28,7 +28,6 @@
|
||||
color white
|
||||
background-color transparent
|
||||
|
||||
|
||||
.border
|
||||
absolute top bottom left right
|
||||
border-style solid
|
||||
|
||||
Reference in New Issue
Block a user