Открыть боковую панель
nt_test121
nt_project_o05vkt1w9peb
Коммиты
851550e1
Не подтверждена
Коммит
851550e1
создал
Сен 26, 2017
по автору
Phil Hughes
Просмотр файлов
fixed autosize textarea height
fixed preview mode height not matching adding active icon
владелец
3c1e8f20
Изменения
4
Скрыть пробелы
Построчно
Рядом
app/assets/javascripts/notes/components/issue_comment_form.vue
Просмотр файла @
851550e1
...
...
@@ -237,7 +237,9 @@
</
script
>
<
template
>
<div
:class=
"
{ 'is-floating': floatingModeEnabled }">
<div
:class=
"
{ 'is-floating': floatingModeEnabled }"
>
<issue-note-signed-out-widget
v-if=
"!isLoggedIn"
/>
<ul
v-else
...
...
app/assets/javascripts/vue_shared/components/markdown/header.vue
Просмотр файла @
851550e1
...
...
@@ -41,6 +41,11 @@
this
.
$emit
(
'
toggleFloatingMode
'
);
},
toggleFullScreen
()
{
if
(
this
.
floatingModeEnabled
)
{
this
.
toggleFloatingMode
();
}
},
},
mounted
()
{
$
(
document
).
on
(
'
markdown-preview:show.vue
'
,
this
.
toggleMarkdownPreview
);
...
...
@@ -122,7 +127,11 @@
@click="toggleFloatingMode"
>
<i
class=
"fa fa-window-restore"
class=
"fa"
:class=
"
{
'fa-window-restore': !floatingModeEnabled,
'fa-window-maximize': floatingModeEnabled,
}"
aria-hidden="true">
</i>
</button>
...
...
@@ -133,7 +142,9 @@
data-container=
"body"
tabindex=
"-1"
title=
"Go full screen"
type=
"button"
>
type=
"button"
@
click=
"toggleFullScreen"
>
<i
aria-hidden=
"true"
class=
"fa fa-arrows-alt fa-fw"
>
...
...
app/assets/stylesheets/framework/markdown_area.scss
Просмотр файла @
851550e1
...
...
@@ -78,7 +78,7 @@
}
.md-preview-holder
{
min-height
:
1
6
7px
;
min-height
:
17
1
px
;
padding
:
10px
0
;
overflow-x
:
auto
;
}
...
...
app/assets/stylesheets/pages/notes.scss
Просмотр файла @
851550e1
...
...
@@ -836,5 +836,9 @@ ul.notes {
margin-top
:
-1px
;
background-color
:
$white-light
;
border-top
:
1px
solid
$white-normal
;
.note-textarea
{
height
:
140px
!
important
;
// Need !important to override inline styles from autosize.js
}
}
}
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать