mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 21:56:19 +10:00
- No longer depends on the "hidden checkbox". - No longer depends on manually storing/restoring the scroll position. Instead, we take advantage of jquery.scrollTo. - Event-based. - Simplifies the state-based styling.
13 lines
360 B
Plaintext
13 lines
360 B
Plaintext
.zennable
|
|
.zen-backdrop
|
|
- classes << ' js-gfm-input markdown-area'
|
|
- if defined?(f) && f
|
|
= f.text_area attr, class: classes
|
|
- else
|
|
= text_area_tag attr, nil, class: classes
|
|
%a.js-zen-enter(tabindex="-1" href="#")
|
|
= icon('expand')
|
|
Edit in fullscreen
|
|
%a.js-zen-leave(tabindex="-1" href="#")
|
|
= icon('compress')
|