Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Header.vue « components « src - github.com/undo-ransomware/ransomware_detection.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e42b431669adb9dd00c2d8e9bf15595dbe4499cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<template>
    <div class="header">
        <h2>
            {{this.header}}
        </h2>
        <div class="actions">
            <slot/>
        </div>
    </div>
</template>

<script>
export default {
    name: 'Header',
    props: {
        header: {
			type: String,
			default: '',
			required: true
		}
    }
}
</script>

<style lang="scss">
    h2 {
        height: 100%;
        margin: 0px;
        padding: 10px;
    }
    .actions {
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0px 10px 0px 10px;
    }
    .header {
        height: 50px;
        display: flex;
        justify-content: space-between;
        align-items: stretch;
    }
</style>