mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-03 08:23:51 +08:00
7e8b8345e7
fish_config has some shadows and other elements which don't align propertly. Fix these, and apply some other miscellaneous polish. Fixes #7811
23 lines
1.1 KiB
HTML
23 lines
1.1 KiB
HTML
<div class="height_limiter">
|
|
<!-- The first 'sample' prompt is the current one; the remainders are samples. This ought to be cleaned up. -->
|
|
<div class="current_prompt" style="min-height: 7.5em;" ng-style="{'background-color': terminalBackgroundColor}">
|
|
<div class="prompt_demo_choice_label" style="color: #FFF;">{{ selectedPrompt.name }}</div>
|
|
<div ng-bind-html='selectedPrompt.demo | to_trusted' class="prompt_demo unbordered"></div>
|
|
<div style="position: absolute; right: 5px; bottom: 5px; color:">
|
|
<span class="save_button"
|
|
ng-show="showSaveButton"
|
|
style="color: #CCC"
|
|
ng-click="setPrompt()">{{ savePromptButtonTitle }}</span>
|
|
</div>
|
|
</div>
|
|
<div style="margin: 10px 15px 7px 15px; padding-bottom: 10px; border-bottom: solid 1px #999">Preview a prompt below:</div>
|
|
<div class="prompt_choices_scrollview">
|
|
<div class="prompt_choices_list">
|
|
<div ng-repeat="prompt in samplePrompts">
|
|
<div class="prompt_demo_choice_label">{{ prompt.name }}</div>
|
|
<div ng-bind-html='prompt.demo | to_trusted' class="prompt_demo" ng-click="selectPrompt(prompt)"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|