Merge pull request #11505 from thaJeztah/unused_style

_includes/head.html: remove unused ng-cloak styles
This commit is contained in:
Usha Mandya 2020-10-08 10:41:12 +01:00 committed by GitHub
commit 5f795264d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3 additions and 19 deletions

View File

@ -1,4 +1,4 @@
<body ng-app="Docker" ng-controller="DockerController" id="landing" class="landing">
<body id="landing" class="landing">
<nav class="navbar header">
<div class="container">
<div class="navbar-header">

View File

@ -3,7 +3,7 @@
{%- else -%}
{%- assign edit_url = "https://github.com/docker/docker.github.io/edit/master/" | append: page.path -%}
{%- endif -%}
<body ng-app="Docker" ng-controller="DockerController" class="colums">
<body class="colums">
<header>
{% include header.html %}
</header>

View File

@ -26,22 +26,6 @@
{%- endif -%}
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
@charset "UTF-8";
[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak,
.ng-hide:not(.ng-hide-animate) {
display: none !important;
}
ng\:form {
display: block;
}
</style>
{%- if site.google_analytics != '' -%}{%- include analytics/google_analytics.html GOOGLE_ID=site.google_analytics -%}{%- endif -%}
{%- if page.hide_from_sitemap or site.GH_ENV == "gh_pages" %}
<meta name="robots" content="noindex"/>

View File

@ -4,7 +4,7 @@
</a>
</div>
<div class="search-form" id="search-div">
<form class="search-form form-inline ng-pristine ng-valid" id="searchForm" action="/search/">
<form class="search-form form-inline" id="searchForm" action="/search/">
<input class="search-field form-control ds-input" id="st-search-input" value="" name="q" placeholder="Search the docs" type="search" autocomplete="off" spellcheck="false" dir="auto" style="position: relative; vertical-align: top;">
<div id="autocompleteContainer">
<div id="autocompleteResults"></div>