mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 18:54:03 +08:00
fix: The top-right logout button sometimes disappears for small screen size (#544)
This commit is contained in:
parent
3602d9b9a7
commit
380cdc5f7e
@ -12,6 +12,8 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
|
//go:build !skipCi
|
||||||
|
|
||||||
package object
|
package object
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -21,7 +23,7 @@ import (
|
|||||||
"github.com/casdoor/casdoor/util"
|
"github.com/casdoor/casdoor/util"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestProvider(t *testing.T) {
|
func TestProduct(t *testing.T) {
|
||||||
InitConfig()
|
InitConfig()
|
||||||
|
|
||||||
product := GetProduct("admin/product_123")
|
product := GetProduct("admin/product_123")
|
||||||
|
@ -555,7 +555,7 @@ class App extends Component {
|
|||||||
// theme="dark"
|
// theme="dark"
|
||||||
mode={(Setting.isMobile() && this.isStartPages()) ? "inline" : "horizontal"}
|
mode={(Setting.isMobile() && this.isStartPages()) ? "inline" : "horizontal"}
|
||||||
selectedKeys={[`${this.state.selectedMenuKey}`]}
|
selectedKeys={[`${this.state.selectedMenuKey}`]}
|
||||||
style={{ lineHeight: '64px'}}
|
style={{lineHeight: '64px', width: '100%', position: 'absolute'}}
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
this.renderMenu()
|
this.renderMenu()
|
||||||
|
@ -16,9 +16,9 @@
|
|||||||
|
|
||||||
package xlsx
|
package xlsx
|
||||||
|
|
||||||
//import "testing"
|
import "testing"
|
||||||
//
|
|
||||||
//func TestReadSheet(t *testing.T) {
|
func TestReadSheet(t *testing.T) {
|
||||||
// ticket := ReadXlsxFile("../../tmpFiles/example")
|
ticket := ReadXlsxFile("../../tmpFiles/example")
|
||||||
// println(ticket)
|
println(ticket)
|
||||||
//}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user