Prevent a change in height when switching from a dir to a file
This commit is contained in:
parent
2ed18864df
commit
38fce53936
|
@ -30,7 +30,7 @@ $button-box-shadow-standard: 0 2px 0 0 rgba($grey, 0.2);
|
||||||
|
|
||||||
&.is-compact {
|
&.is-compact {
|
||||||
padding: 0.25em 0.75em;
|
padding: 0.25em 0.75em;
|
||||||
margin: -0.25em -0.25em -0.25em 0;
|
margin: -0.25em 0;
|
||||||
|
|
||||||
&.pull-right {
|
&.pull-right {
|
||||||
margin-right: -1em;
|
margin-right: -1em;
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
<span class="pull-right">
|
<span class="pull-right">
|
||||||
|
|
||||||
{{#if (not fileTypeIsUnknown)}}
|
{{#if (not fileTypeIsUnknown)}}
|
||||||
<a data-test-log-action="raw" class="button is-white" href="{{catUrl}}" target="_blank" rel="noopener noreferrer">View Raw File</a>
|
<a data-test-log-action="raw" class="button is-white is-compact" href="{{catUrl}}" target="_blank" rel="noopener noreferrer">View Raw File</a>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if (and isLarge isStreamable)}}
|
{{#if (and isLarge isStreamable)}}
|
||||||
<button data-test-log-action="head" class="button is-white" onclick={{action "gotoHead"}}>Head</button>
|
<button data-test-log-action="head" class="button is-white is-compact" onclick={{action "gotoHead"}}>Head</button>
|
||||||
<button data-test-log-action="tail" class="button is-white" onclick={{action "gotoTail"}}>Tail</button>
|
<button data-test-log-action="tail" class="button is-white is-compact" onclick={{action "gotoTail"}}>Tail</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#if isStreamable}}
|
{{#if isStreamable}}
|
||||||
<button data-test-log-action="toggle-stream" class="button is-white" onclick={{action "toggleStream"}}>
|
<button data-test-log-action="toggle-stream" class="button is-white is-compact" onclick={{action "toggleStream"}}>
|
||||||
{{x-icon (if logger.isStreaming "media-pause" "media-play") class="is-text"}}
|
{{x-icon (if logger.isStreaming "media-pause" "media-play") class="is-text"}}
|
||||||
</button>
|
</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
Loading…
Reference in a new issue