单击链接时主导航移动

时间:2018-07-11 22:43:12

标签: html css sass

我试图拍摄屏幕快照以更好地描述问题,但没有运气。

我正在尝试在我的网站http://abrielshipley.com上解决此问题,该网站的主导航位置似乎正确。

当我单击一个主导航链接时,主导航会转到左侧徽标下方。当单击主导航链接之一时,如何解决该问题,主导航仍显示在屏幕右上方的适当位置?

以下是SASS中主要导航元素的一些代码:

java.security.InvalidAlgorithmParameterException: Caller-provided IV not permitted
    at android.security.keystore.KeyStoreCryptoOperationUtils.getExceptionForCipherInit(KeyStoreCryptoOperationUtils.java:85)
    at android.security.keystore.AndroidKeyStoreCipherSpiBase.ensureKeystoreOperationInitialized(AndroidKeyStoreCipherSpiBase.java:265)
    at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineInit(AndroidKeyStoreCipherSpiBase.java:148)
    at javax.crypto.Cipher.tryTransformWithProvider(Cipher.java:2659)
    at javax.crypto.Cipher.tryCombinations(Cipher.java:2570)
    at javax.crypto.Cipher$SpiAndProviderUpdater.updateAndGetSpiAndProvider(Cipher.java:2475)
    at javax.crypto.Cipher.chooseProvider(Cipher.java:566)
    at javax.crypto.Cipher.init(Cipher.java:973)
    at javax.crypto.Cipher.init(Cipher.java:908)

1 个答案:

答案 0 :(得分:2)

只需删除此内容即可:

&:active
    display: block
    position: static
    width: 100%