mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-26 19:36:35 +08:00
perf: 优化顶部布局
This commit is contained in:
parent
d7c4090c96
commit
3bfbee4cc1
@ -38,18 +38,16 @@ const isProject = computed(() => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
$min-width: 520px;
|
|
||||||
@include go(header) {
|
@include go(header) {
|
||||||
&-box {
|
&-box {
|
||||||
display: grid;
|
display: flex;
|
||||||
grid-template-columns: repeat(3, 33%);
|
justify-content: space-between;
|
||||||
&.is-project {
|
&.is-project {
|
||||||
grid-template-columns: none;
|
grid-template-columns: none;
|
||||||
}
|
}
|
||||||
.header-item {
|
.header-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
min-width: $min-width;
|
|
||||||
&.left {
|
&.left {
|
||||||
justify-content: start;
|
justify-content: start;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user