mirror of https://github.com/gorhill/uBlock.git
smaller tab buttons for small screens (https://github.com/gorhill/uBlock/issues/1890#issuecomment-287016408)
This commit is contained in:
parent
2dcf7b7974
commit
b19dfb2dce
|
@ -41,7 +41,7 @@ html, body {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-size: 110%;
|
font-size: 110%;
|
||||||
margin: 0;
|
margin: 0 1px 0 0;
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
position: relative;
|
position: relative;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
@ -70,15 +70,18 @@ iframe {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
#dashboard-nav-widgets {
|
#dashboard-nav-widgets {
|
||||||
padding: 0;
|
padding: 1px 0 0 0;
|
||||||
|
white-space: normal;
|
||||||
}
|
}
|
||||||
[data-i18n="extName"] {
|
[data-i18n="extName"] {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.tabButton {
|
.tabButton {
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
border-top: 0;
|
display: inline-block;
|
||||||
display: block;
|
font-size: 100%;
|
||||||
|
margin-bottom: 1px;
|
||||||
|
top: 0;
|
||||||
}
|
}
|
||||||
.tabButton.selected {
|
.tabButton.selected {
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="dashboard-nav">
|
<div id="dashboard-nav">
|
||||||
<div id="dashboard-nav-widgets">
|
<div id="dashboard-nav-widgets">
|
||||||
<span data-i18n="extName"></span>
|
<span data-i18n="extName"></span><!--
|
||||||
<a class="tabButton" href="#settings.html" data-i18n="settingsPageName"></a>
|
--><a class="tabButton" href="#settings.html" data-i18n="settingsPageName"></a><!--
|
||||||
<a class="tabButton" href="#3p-filters.html" data-i18n="3pPageName"></a>
|
--><a class="tabButton" href="#3p-filters.html" data-i18n="3pPageName"></a><!--
|
||||||
<a class="tabButton" href="#1p-filters.html" data-i18n="1pPageName"></a>
|
--><a class="tabButton" href="#1p-filters.html" data-i18n="1pPageName"></a><!--
|
||||||
<a class="tabButton" href="#dyna-rules.html" data-i18n="rulesPageName"></a>
|
--><a class="tabButton" href="#dyna-rules.html" data-i18n="rulesPageName"></a><!--
|
||||||
<a class="tabButton" href="#whitelist.html" data-i18n="whitelistPageName"></a>
|
--><a class="tabButton" href="#whitelist.html" data-i18n="whitelistPageName"></a><!--
|
||||||
<a class="tabButton" href="#about.html" data-i18n="aboutPageName"></a>
|
--><a class="tabButton" href="#about.html" data-i18n="aboutPageName"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue