Browse Source

Remove box-shadow from UI, fix dashboard issue (#3065)

silverwind 2 years ago
parent
commit
4947cfb7b0

File diff suppressed because it is too large
+ 1 - 1
public/css/index.css


+ 6 - 0
public/less/_base.less

@@ -146,6 +146,12 @@ pre, code {
146 146
         }
147 147
     }
148 148
 
149
+   &.menu,
150
+   &.vertical.menu,
151
+   &.segment {
152
+       box-shadow: none;
153
+   }
154
+
149 155
     .text {
150 156
         &.red {
151 157
             color: #d95c5c !important;

+ 5 - 0
public/less/_dashboard.less

@@ -48,6 +48,11 @@
48 48
             }
49 49
         }
50 50
     }
51
+
52
+    /* Accomodate for Semantic's 1px hacks on .attached elements */
53
+    .dashboard-repos {
54
+        margin: 0 1px;
55
+    }
51 56
 }
52 57
 
53 58
 &.feeds {

+ 1 - 1
templates/user/dashboard/dashboard.tmpl

@@ -31,7 +31,7 @@
31 31
 							<a :class="{item: true, active: tab === 'repos'}" @click="changeTab('repos')">{{.i18n.Tr "repository"}}</a>
32 32
 							<a :class="{item: true, active: tab === 'organizations'}" @click="changeTab('organizations')">{{.i18n.Tr "organization"}}</a>
33 33
 						</div>
34
-						<div v-show="tab === 'repos'" class="ui tab active list">
34
+						<div v-show="tab === 'repos'" class="ui tab active list dashboard-repos">
35 35
 							<h4 class="ui top attached header">
36 36
 								{{.i18n.Tr "home.my_repos"}} <span class="ui grey label">${reposTotalCount}</span>
37 37
 								<div class="ui right">